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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-to-letter-preceding-1.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> 2 <html>
3 <head> 3 <head>
4 <meta charset="utf-8"/> 4 <meta charset="utf-8"/>
5 <title>HTML Test: BDI: neutral to preceding letter</title> 5 <title>HTML Test: BDI: neutral to preceding letter</title>
6 <link rel="match" href="bdi-neutral-to-letter-preceding-1-ref.html"> 6 <link rel="match" href="bdi-neutral-to-letter-preceding-1-ref.html">
7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"/> 7 <link rel="author" title="Aharon Lanin" href="mailto:aharon@google.com"/>
8 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com"/> 8 <link rel="author" title="Shai Berger" href="mailto:shai@platonix.com"/>
9 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com"/> 9 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com"/>
10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-bdi-eleme nt"/> 10 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-bdi-eleme nt"/>
11 <meta name="assert" content=" 11 <meta name="assert" content="
12 'For the purposes of applying the bidirectional algorithm to the paragraph -level 12 'For the purposes of applying the bidirectional algorithm to the paragraph -level
13 container that a bdi element finds itself within, the bdi element must be treated 13 container that a bdi element finds itself within, the bdi element must be treated
14 like a U+FFFC OBJECT REPLACEMENT CHARACTER.'"/> 14 like a U+FFFC OBJECT REPLACEMENT CHARACTER.'"/>
15 <style> 15 <style>
16 body{ 16 body{
17 font-size:2em; 17 font-size:2em;
18 } 18 }
19 .test, .ref { 19 .test, .ref {
20 border: medium solid gray; 20 border: medium solid gray;
21 width: 400px; 21 width: 400px;
22 margin: 20px; 22 margin: 20px;
23 } 23 }
24 .comments { display: none; } 24 .comments { display: none; }
25 </style> 25 </style>
26 </head> 26 </head>
27 <body> 27 <body>
28 <div class="instructions" style="display:none"><p>Test passes if the two box es below look exactly the same.</p></div> 28 <div class="instructions"><p>Test passes if the two boxes below look exactly the same.</p></div>
29 <div class="comments"> 29 <div class="comments">
30 Key to entities used below: 30 Key to entities used below:
31 &#x05D0; ... &#x05D5; - The first six Hebrew letters (strongly RTL). 31 &#x05D0; ... &#x05D5; - The first six Hebrew letters (strongly RTL).
32 &#x202D; - The LRO (left-to-right override) formatting character. 32 &#x202D; - The LRO (left-to-right override) formatting character.
33 &#x202C; - The PDF (pop directional formatting) formatting character; cl oses LRO. 33 &#x202C; - The PDF (pop directional formatting) formatting character; cl oses LRO.
34 If the BDI in the test's first DIV were a SPAN, the &#x05D1; would be rend ered to the left 34 If the BDI in the test's first DIV were a SPAN, the &#x05D1; would be rend ered to the left
35 of the &#x05D0; 35 of the &#x05D0;
36 </div> 36 </div>
37 <div class="test"> 37 <div class="test">
38 <div dir="ltr">&#x05D0; &gt; <bdi>[&#x05D1;]</bdi>...</div> 38 <div dir="ltr">&#x05D0; &gt; <bdi>[&#x05D1;]</bdi>...</div>
39 <div dir="ltr">&#x05D0; &gt; <bdi dir="rtl">[&#x05D1;]</bdi>...</div> 39 <div dir="ltr">&#x05D0; &gt; <bdi dir="rtl">[&#x05D1;]</bdi>...</div>
40 <div dir="ltr">&#x05D0; &gt; <bdi dir="ltr">[&#x05D1;]</bdi>...</div> 40 <div dir="ltr">&#x05D0; &gt; <bdi dir="ltr">[&#x05D1;]</bdi>...</div>
41 <div dir="rtl">a &gt; <bdi>[b]</bdi>...</div> 41 <div dir="rtl">a &gt; <bdi>[b]</bdi>...</div>
42 <div dir="rtl">a &gt; <bdi dir="ltr">[b]</bdi>...</div> 42 <div dir="rtl">a &gt; <bdi dir="ltr">[b]</bdi>...</div>
43 <div dir="rtl">a &gt; <bdi dir="rtl">[b]</bdi>...</div> 43 <div dir="rtl">a &gt; <bdi dir="rtl">[b]</bdi>...</div>
44 </div> 44 </div>
45 <div class="ref"> 45 <div class="ref">
46 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div> 46 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div>
47 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div> 47 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div>
48 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div> 48 <div dir="ltr">&#x202D;&#x05D0; &gt; [&#x05D1;]...&#x202C;</div>
49 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div> 49 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div>
50 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div> 50 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div>
51 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div> 51 <div dir="rtl">&#x202D;...[b] &lt; a&#x202C;</div>
52 </div> 52 </div>
53 </body> 53 </body>
54 </html> 54 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698