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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/text-level-semantics/the-bdi-element/bdi-paragraph-level-container.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: paragraph-level container</title> 5 <title>HTML Test: BDI: paragraph-level container</title>
6 <link rel="match" href="bdi-paragraph-level-container-ref.html"/> 6 <link rel="match" href="bdi-paragraph-level-container-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="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com"/> 8 <link rel="author" title="HTML5 bidi test WG" href="mailto:html5bidi@googleg roups.com"/>
9 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-bdi-eleme nt"/> 9 <link rel="help" href="https://html.spec.whatwg.org/multipage/#the-bdi-eleme nt"/>
10 <meta name="assert" content=" 10 <meta name="assert" content="
11 'For the purposes of applying the bidirectional algorithm to the contents of a bdi element, 11 'For the purposes of applying the bidirectional algorithm to the contents of a bdi element,
12 user agents must treat the element as a paragraph-level container.' 12 user agents must treat the element as a paragraph-level container.'
13 Thus, under no circumstances should the content outside a BDI affect the v isual 13 Thus, under no circumstances should the content outside a BDI affect the v isual
14 ordering of the BDI's content."/> 14 ordering of the BDI's content."/>
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: 500px; 21 width: 500px;
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 BDIs in the test's first DIV were just SPANs, the &#x05D0; would or der the 1 2 3 as 34 If the BDIs in the test's first DIV were just SPANs, the &#x05D0; would or der the 1 2 3 as
35 3 2 1, and the &#x05D5; would (with the &#x05D4;) order the ?! as !?. 35 3 2 1, and the &#x05D5; would (with the &#x05D4;) order the ?! as !?.
36 </div> 36 </div>
37 <div class="test"> 37 <div class="test">
38 <div dir="ltr">&#x05D0; <bdi>[1 2 3 b]</bdi> c <bdi>[d &#x05D4;?!]</bdi> & #x05D5;...</div> 38 <div dir="ltr">&#x05D0; <bdi>[1 2 3 b]</bdi> c <bdi>[d &#x05D4;?!]</bdi> & #x05D5;...</div>
39 <div dir="rtl">a <bdi>[1 2 3 &#x05D1;]</bdi> &#x05D2; <bdi>[&#x05D3; e?!]< /bdi> f...</div> 39 <div dir="rtl">a <bdi>[1 2 3 &#x05D1;]</bdi> &#x05D2; <bdi>[&#x05D3; e?!]< /bdi> f...</div>
40 </div> 40 </div>
41 <div class="ref"> 41 <div class="ref">
42 <div dir="ltr">&#x202D;&#x05D0; [1 2 3 b] c [d &#x05D4;?!] &#x05D5;...&#x2 02C;</div> 42 <div dir="ltr">&#x202D;&#x05D0; [1 2 3 b] c [d &#x05D4;?!] &#x05D5;...&#x2 02C;</div>
43 <div dir="rtl">&#x202D;...f [!?e &#x05D3;] &#x05D2; [&#x05D1; 3 2 1] a&#x2 02C;</div> 43 <div dir="rtl">&#x202D;...f [!?e &#x05D3;] &#x05D2; [&#x05D1; 3 2 1] a&#x2 02C;</div>
44 </div> 44 </div>
45 </body> 45 </body>
46 </html> 46 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698