OLD | NEW |
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: direction alone and inherited, unicode-bidi embed
</title> | 5 <title>direction/unicode-bidi: direction alone and inherited, unicode-bidi norma
l</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 <style type="text/css"> | 8 <style type="text/css"> |
9 .test b { direction: rtl; font-weight: normal; } | 9 .test b { direction: rtl; font-weight: normal; } |
10 .test span { unicode-bidi: embed; } | 10 .test span { unicode-bidi: normal; } |
11 | 11 |
12 /* the following styles are not part of the test */ | 12 /* the following styles are not part of the test */ |
13 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10
em; padding: 5px; clear: both; } | 13 .test, .ref { font-size: 150%; border: 1px solid orange; margin: 10px; width: 10
em; padding: 5px; clear: both; } |
14 input { margin: 5px; } | 14 input { margin: 5px; } |
15 @font-face { | 15 @font-face { |
16 font-family: 'ezra_silregular'; | 16 font-family: 'ezra_silregular'; |
17 src: url('support/sileot-webfont.woff') format('woff'); | 17 src: url('support/sileot-webfont.woff') format('woff'); |
18 font-weight: normal; | 18 font-weight: normal; |
19 font-style: normal; | 19 font-style: normal; |
20 } | 20 } |
21 .test, .ref { font-family: ezra_silregular, serif; } | 21 .test, .ref { font-family: ezra_silregular, serif; } |
22 </style> | 22 </style> |
23 </head> | 23 </head> |
24 <body> | 24 <body> |
25 <p class="instructions" dir="ltr" style="display:none">Test passes if the two bo
xes are identical.</p> | 25 <p class="instructions" dir="ltr" style="display:none">Test passes if the two bo
xes are identical.</p> |
26 | 26 |
27 | 27 |
28 <!-- Notes: | 28 <!-- Notes: |
29 Key to entities used below: | 29 Key to entities used below: |
30 א ... ו - The first six Hebrew letters (strongly RTL). | 30 א ... ו - The first six Hebrew letters (strongly RTL). |
31 ‭ - The LRO (left-to-right-override) formatting character. | 31 ‭ - The LRO (left-to-right-override) formatting character. |
32 ‬ - The PDF (pop directional formatting) formatting character; cl
oses LRO. | 32 ‬ - The PDF (pop directional formatting) formatting character; cl
oses LRO. |
33 --> | 33 --> |
34 | 34 |
35 | 35 |
36 | 36 |
37 <div class="ref" dir="ltr">‭> a > ד < b > d >‬
;</div> | 37 <div class="ref" dir="ltr">‭> a > b > ד > d >‬
;</div> |
38 | 38 |
39 | 39 |
40 <div class="ref" dir="ltr">‭> a > ד < b > d >‬
;</div> | 40 <div class="ref" dir="ltr">‭> a > b > ד > d >‬
;</div> |
41 | 41 |
42 | 42 |
43 | 43 |
44 | 44 |
45 | 45 |
46 | 46 |
47 </body></html> | 47 </body></html> |
OLD | NEW |