<DOCTYPE html> <html DIR=RTL> <head> <meta charset=UTF-8> <title>BIDI Layout Testing</title> </head> <body> <div style="white-space: pre"> <b>Test1: No space</b> This is a testing for BiDi layout issues. <span>This is a testing for BiDi layout issues. </span> <p>This is a testing for BiDi layout issues. </p> <div>This is a testing for BiDi layout issues.</div> <b>Test2: 3 spaces at the end</b> This is a testing for BiDi layout issues. <span>This is a testing for BiDi layout issues. </span> <p>This is a testing for BiDi layout issues. </p> <div>This is a testing for BiDi layout issues. </div> <b>Test3: 3 spaces at the beginning</b> This is a testing for BiDi layout issues. <span> This is a testing for BiDi layout issues. </span> <p> This is a testing for BiDi layout issues. </p> <div> This is a testing for BiDi layout issues. </div> <b>Test4: 3 spaces at the end and the beginning</b> This is a testing for BiDi layout issues. <span> This is a testing for BiDi layout issues. </span> <p> This is a testing for BiDi layout issues. </p> <div> This is a testing for BiDi layout issues. </div> </div> </body> </html>