Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(172)

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/dom/elements/requirements-relating-to-bidirectional-algorithm-formatting-characters/dir-isolation-009c.html

Issue 2086283003: Update web-platform-tests (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge branch 'master' into wpt_import Created 4 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html lang="en" > 2 <html lang="en" >
3 <head> 3 <head>
4 <meta charset="utf-8"/> 4 <meta charset="utf-8"/>
5 <title>The dir attribute: isolated from surrounding text, same direction</title> 5 <title>The dir attribute: isolated from surrounding text, same direction</title>
6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'> 6 <link rel='author' title='Richard Ishida' href='mailto:ishida@w3.org'>
7 <link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating -to-the-bidirectional-algorithm'> 7 <link rel="help" href='http://www.w3.org/TR/html5/dom.html#requirements-relating -to-the-bidirectional-algorithm'>
8 <link rel='match' href='reference/dir-isolation-009b-ref.html'> 8 <link rel='match' href='reference/dir-isolation-009b-ref.html'>
9 <meta name='assert' content="Element content with a dir attribute is treated as a neutral character and directionally isolated from surrounding text."> 9 <meta name='assert' content="Element content with a dir attribute is treated as a neutral character and directionally isolated from surrounding text.">
10 <style type='text/css'> 10 <style type='text/css'>
11 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-ri ght: 200px; padding: 5px; clear: both; } 11 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; margin-ri ght: 200px; padding: 5px; clear: both; }
12 input { margin: 5px; } 12 input { margin: 5px; }
13 </style> 13 </style>
14 </head> 14 </head>
15 <body> 15 <body>
16 <p class="instructions" dir="ltr" style="display:none">Test passes if the two bo xes are identical.</p> 16 <p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p >
17 <!-- Key to entities used below: 17 <!-- Key to entities used below:
18 &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL). 18 &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
19 &#x202d; - The LRO (left-to-right-override) formatting character. 19 &#x202d; - The LRO (left-to-right-override) formatting character.
20 &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO . 20 &#x202c; - The PDF (pop directional formatting) formatting character; closes LRO .
21 If the BDI in the test's first DIV were a SPAN, its b would prevent the &#x5d0; and the &#x5d1; 21 If the BDI in the test's first DIV were a SPAN, its b would prevent the &#x5d0; and the &#x5d1;
22 from forming a single RTL run and thus keep the &gt;s between from being mirrore d into &lt;s. 22 from forming a single RTL run and thus keep the &gt;s between from being mirrore d into &lt;s.
23 --> 23 -->
24 <div class="test"> 24 <div class="test">
25 <div dir="ltr">&#x5d0; &gt; <span dir="ltr">&gt; b &gt;</span> &gt; &#x5d2;...</ div> 25 <div dir="ltr">&#x5d0; &gt; <span dir="ltr">&gt; b &gt;</span> &gt; &#x5d2;...</ div>
26 <div dir="rtl">a &gt; <span dir="rtl">&gt; &#x5d1; &gt;</span> &gt; c...</div> 26 <div dir="rtl">a &gt; <span dir="rtl">&gt; &#x5d1; &gt;</span> &gt; c...</div>
27 </div> 27 </div>
28 <div class="ref"> 28 <div class="ref">
29 <div dir="ltr">&#x202d;&#x5d2; &lt; &gt; b &gt; &lt; &#x5d0;...&#x202c;</div> 29 <div dir="ltr">&#x202d;&#x5d2; &lt; &gt; b &gt; &lt; &#x5d0;...&#x202c;</div>
30 <div dir="rtl">&#x202d;...a &gt; &lt; &#x5d1; &lt; &gt; c&#x202c;</div> 30 <div dir="rtl">&#x202d;...a &gt; &lt; &#x5d1; &lt; &gt; c&#x202c;</div>
31 </div> 31 </div>
32 </body> 32 </body>
33 </html> 33 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698