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