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

Side by Side Diff: LayoutTests/imported/csswg-test/css-writing-modes-3/block-plaintext-001.html

Issue 1161223002: Import csswg-test/css-writing-modes-3/ (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Comments updated Created 5 years, 6 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
(Empty)
1 <!DOCTYPE html>
2 <html lang="en">
3 <head>
4 <meta charset="utf-8"/>
5 <title>unicode-bidi: div plaintext, rtl</title>
6
7 <link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/>
8 <link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction' />
9 <link rel="match" href='reference/block-plaintext-001.html'/>
10 <meta name="assert" content='If unicode-bidi: plaintext is applied to a div elem ent containing mixed direction text, the order of directional runs in the text i n that element will be determined by its first strong character.'/>
11 <style type="text/css">
12 .test { unicode-bidi: -webkit-plaintext; }
13
14 /* the following styles are not part of the test */
15 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10 em; padding: 5px; clear: both; }
16 input { margin: 5px; }
17 @font-face {
18 font-family: 'ezra_silregular';
19 src: url('support/sileot-webfont.woff') format('woff');
20 font-weight: normal;
21 font-style: normal;
22 }
23 .test, .ref { font-family: ezra_silregular, serif; }
24 </style>
25 </head>
26 <body>
27 <p class="instructions" dir="ltr" style="display:none">Test passes if the two bo xes are identical.</p>
28
29
30 <!-- Notes:
31 Key to entities used below:
32 &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL).
33 &#x202d; - The LRO (left-to-right-override) formatting character.
34 &#x202c; - The PDF (pop directional formatting) formatting character; cl oses LRO.
35
36 The punctuation is moved around in the source to make it easier to do visual com parisons when the test is run.
37 -->
38
39
40
41 <div class="test">&gt; &#x5d0; &gt; b &gt; &#x5d2; &gt;</div>
42
43
44 <div class="ref" dir="rtl">&#x202d;&lt; &#x5d2; &lt; b &lt; &#x5d0; &lt;&#x202c; </div>
45
46
47
48
49
50
51 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698