<!DOCTYPE html> <html> <head> <meta charset="utf-8"> </head> <body> <div style="direction: rtl; white-space: pre;"><span style="outline: 1px solid red;" id="x"> </span></div> </body> </html>