<!DOCTYPE html> <html> <body onload="document.getElementById('x').dir = '';"> <div><bdi><bdi id="x"><span></span></bdi></bdi></div> </body> </html>