| OLD | NEW |
| 1 <!DOCTYPE html> | 1 <!DOCTYPE html> |
| 2 <meta charset="utf-8"> | 2 <meta charset="utf-8"> |
| 3 <title>CSS Writing Modes Test: Test orientation of characters where vo=Tr (47 co
de points in U+2329-FFE3).</title> | 3 <title>CSS Writing Modes Test: Test orientation of characters where vo=Tr (47 co
de points in U+2329-FFE3).</title> |
| 4 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientatio
n"> | 4 <link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#text-orientatio
n"> |
| 5 <meta name="assert" content="Test orientation of characters where vo=Tr (47 code
points in U+2329-FFE3)"> | 5 <meta name="assert" content="Test orientation of characters where vo=Tr (47 code
points in U+2329-FFE3)"> |
| 6 <meta name="flags" content="dom font"> | 6 <meta name="flags" content="dom font"> |
| 7 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com"> | 7 <link rel="author" title="Koji Ishii" href="mailto:kojiishi@gmail.com"> |
| 8 <script src="../../../resources/testharness.js"></script> | 8 <script src="../../../resources/testharness.js"></script> |
| 9 <script src="../../../resources/testharnessreport.js"></script> | 9 <script src="../../../resources/testharnessreport.js"></script> |
| 10 <style> | 10 <style> |
| 11 @font-face { | 11 @font-face { |
| 12 font-family: "orientation"; | 12 font-family: "orientation"; |
| 13 src: url("support/adobe-fonts/CSSHWOrientationTest.otf"); | 13 src: url("support/adobe-fonts/CSSHWOrientationTest.otf"); |
| 14 } | 14 } |
| 15 .test { | 15 .test { |
| 16 font-family: "orientation"; | 16 font: 16px/1 "orientation"; |
| 17 font-size: 16px; | 17 height: 17em; |
| 18 height: 32em; | 18 -webkit-writing-mode: vertical-rl; |
| 19 } |
| 20 .line { |
| 19 white-space: pre; | 21 white-space: pre; |
| 20 -webkit-writing-mode: vertical-rl; | |
| 21 } | 22 } |
| 22 .U { | 23 .U { |
| 23 -webkit-text-orientation: upright; | 24 -webkit-text-orientation: upright; |
| 24 } | 25 } |
| 25 .R { | 26 .R { |
| 26 -webkit-text-orientation: sideways-right; | 27 -webkit-text-orientation: sideways-right; |
| 27 } | 28 } |
| 28 #details { | 29 #details { |
| 29 margin: 1em .5em; | 30 margin: 1em .5em; |
| 30 } | 31 } |
| 31 summary { | 32 summary { |
| 32 font-size: 1.2em; | 33 font-size: 1.2em; |
| 33 font-weight: bold; | 34 font-weight: bold; |
| 34 margin-top: .5em; | 35 margin-top: .5em; |
| 35 } | 36 } |
| 36 </style> | 37 </style> |
| 37 <div id="log"></div> | 38 <div id="log"></div> |
| 38 <div id="details"></div> | 39 <div id="details"></div> |
| 39 <div id="container"><div data-vo="Tr" class="test"> | 40 <div id="container"> |
| 40 <div>〈〉〈〉《》「」『』【】〔〕〖〗〘〙〚〛〜〝〞〟〰゠ー﹙﹚﹛﹜﹝﹞():;[]_{|}~⦅⦆ ̄</div> | 41 <div data-vo="Tr" class="test"> |
| 42 <div data-block="Miscellaneous"> |
| 43 <div class="line">〈〉</div> |
| 44 </div> |
| 45 <div data-block="CJK"> |
| 46 <div class="line">〈〉《》「」『』【】〔〕〖〗〘〙〚〛〜〝〞〟〰</div> |
| 47 </div> |
| 48 <div data-block="Katakana"> |
| 49 <div class="line">゠ー</div> |
| 50 </div> |
| 51 <div data-block="Small"> |
| 52 <div class="line">﹙﹚﹛﹜﹝﹞</div> |
| 53 </div> |
| 54 <div data-block="Halfwidth"> |
| 55 <div class="line">():;[]_{|}~⦅⦆ ̄</div> |
| 41 </div> | 56 </div> |
| 42 </div> | 57 </div> |
| 43 <script src="support/text-orientation/unicode-data.js"></script> | 58 </div> |
| 44 <script src="support/text-orientation/text-orientation.js"></script> | 59 <script src="support/text-orientation.js"></script> |
| OLD | NEW |