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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/wpt/html/semantics/text-level-semantics/the-bdi-element/bdi-neutral-wrapped.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 when wrapped</title> 5 <title>HTML Test: BDI: neutral when wrapped</title>
6 <link rel="match" href="bdi-neutral-wrapped-ref.html"> 6 <link rel="match" href="bdi-neutral-wrapped-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 paragraph -level 11 'For the purposes of applying the bidirectional algorithm to the paragraph -level
12 container that a bdi element finds itself within, the bdi element must be treated 12 container that a bdi element finds itself within, the bdi element must be treated
13 like a U+FFFC OBJECT REPLACEMENT CHARACTER.' 13 like a U+FFFC OBJECT REPLACEMENT CHARACTER.'
14 This should hold even if the BDI's content is wrapped over more than one l ine."/> 14 This should hold even if the BDI's content is wrapped over more than one l ine."/>
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 &#xA0; - Non-breaking space. 31 &#xA0; - Non-breaking space.
32 &#x05D0; ... &#x05D5; - The first six Hebrew letters (strongly RTL). 32 &#x05D0; ... &#x05D5; - The first six Hebrew letters (strongly RTL).
33 &#x202D; - The LRO (left-to-right override) formatting character. 33 &#x202D; - The LRO (left-to-right override) formatting character.
34 &#x202C; - The PDF (pop directional formatting) formatting character; cl oses LRO. 34 &#x202C; - The PDF (pop directional formatting) formatting character; cl oses LRO.
35 In the test below, the non-breaking spaces in the BDI's middle "word" make it so long that it 35 In the test below, the non-breaking spaces in the BDI's middle "word" make it so long that it
36 must be displayed on a line of its own, with the BDI wrapped before and af ter it. At the same 36 must be displayed on a line of its own, with the BDI wrapped before and af ter it. At the same
37 time, the content surrounding the BDI is supposed to form a single directi onal run, despite 37 time, the content surrounding the BDI is supposed to form a single directi onal run, despite
38 the containing element and the BDI both having the opposite direction, bec ause the BDI must be 38 the containing element and the BDI both having the opposite direction, bec ause the BDI must be
(...skipping 25 matching lines...) Expand all
64 &#x202D;&#x05D3; &lt; c...&#x202C; 64 &#x202D;&#x05D3; &lt; c...&#x202C;
65 </div> 65 </div>
66 <div dir="rtl"> 66 <div dir="rtl">
67 &#x202D;a &gt; &#x05D1;&#x202C;<br/> 67 &#x202D;a &gt; &#x05D1;&#x202C;<br/>
68 &#x202D;&lt;&lt;&lt;&#x202C;<br/> 68 &#x202D;&lt;&lt;&lt;&#x202C;<br/>
69 &#x202D;...&#x05D2; &gt; d&#x202C; 69 &#x202D;...&#x05D2; &gt; d&#x202C;
70 </div> 70 </div>
71 </div> 71 </div>
72 </body> 72 </body>
73 </html> 73 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698