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

Side by Side Diff: third_party/WebKit/LayoutTests/imported/csswg-test/css-writing-modes-3/bidi-override-007.html

Issue 2104493003: Import csswg-test@0589ea025a684e31742740ca3b599230bcc25e5d (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Update TestExpectations, delete background 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>direction/unicode-bidi: element isolation and bidi-override, rtl + number </title> 5 <title>direction/unicode-bidi: element isolation and bidi-override, rtl + number </title>
6 6
7 <link rel="author" title="Richard Ishida" href='mailto:ishida@w3.org'/> 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' /> 8 <link rel="help" href='http://www.w3.org/TR/css-writing-modes-3/#text-direction' />
9 <link rel="match" href='reference/bidi-override-007.html'/> 9 <link rel="match" href='reference/bidi-override-007.html'/>
10 <meta name="assert" content='If unicode-bidi:bidi-override is applied to an inli ne element, the text in that element will NOT be directionally isolated from sur rounding text.'/> 10 <meta name="assert" content='If unicode-bidi:bidi-override is applied to an inli ne element, the text in that element will NOT be directionally isolated from sur rounding text.'/>
11 <style type="text/css"> 11 <style type="text/css">
12 .test span { direction: rtl; unicode-bidi: bidi-override; } 12 .test span { direction: rtl; unicode-bidi: bidi-override; }
13 13
14 /* the following styles are not part of the test */ 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; } 15 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10 em; padding: 5px; clear: both; }
16 input { margin: 5px; } 16 input { margin: 5px; }
17 @font-face { 17 @font-face {
18 font-family: 'ezra_silregular'; 18 font-family: 'ezra_silregular';
19 src: url('support/sileot-webfont.woff') format('woff'); 19 src: url('support/sileot-webfont.woff') format('woff');
20 font-weight: normal; 20 font-weight: normal;
21 font-style: normal; 21 font-style: normal;
22 } 22 }
23 .test, .ref { font-family: ezra_silregular, serif; } 23 .test, .ref { font-family: ezra_silregular, serif; }
24 </style> 24 </style>
25 </head> 25 </head>
26 <body> 26 <body>
27 <p class="instructions" dir="ltr" style="display:none">Test passes if the two bo xes are identical.</p> 27 <p class="instructions" dir="ltr">Test passes if the two boxes are identical.</p >
28 28
29 29
30 <!-- Notes: 30 <!--Notes:
31 Key to entities used below: 31 Key to entities used below:
32 &#x5d0; ... &#x5d5; - The first six Hebrew letters (strongly RTL). 32 &#x5d0; ... &#x5d5; - 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 --> 35 -->
36 36
37 37
38 38
39 <div class="test" dir="ltr"><span>abcd</span> 3</div> 39 <div class="test" dir="ltr"><span>abcd</span> 3</div>
40 40
41 41
42 <div class="ref" dir="ltr">&#x202d;3 dcba&#x202c;</div> 42 <div class="ref" dir="ltr">&#x202d;3 dcba&#x202c;</div>
43 43
44 44
45 45
46 46
47 47
48 48
49 </body></html> 49 </body></html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698