RetroZilla/layout/html/tests/block/bugs/9100.html

21 lines
588 B
HTML
Raw Normal View History

2015-10-21 05:03:22 +02:00
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd">
<html>
<head>
<title>bidi overrides</title>
</head><body>
&amp;#x202d; forces ltr<br />
&amp;#x202e; forces rtl<br />
&amp;#x202c; restores bidi<br />
<blockquote>
this is ltr: &#x202d;hello&#x202c;<br />
this is rtl: &#x202e;hello&#x202c;
</blockquote>
&lt;bdo dir="LTR"&gt; forces ltr<br />
&lt;bdo dir="RTL"&gt; forces rtl<br />
&lt;/bdo&gt; restores bidi<br />
<blockquote>
this is ltr: <bdo dir="LTR">hello</bdo><br />
this is rtl: <bdo dir="RTL">hello</bdo>
</blockquote>
</body>
</html>