mmaxfield@apple.com | 397e952 | 2015-11-03 17:13:24 +0000 | [diff] [blame] | 1 | <!DOCTYPE html> |
| 2 | <html> |
| 3 | <head> |
| 4 | </head> |
| 5 | <body> |
| 6 | This test makes sure that text-orientation: sideways is treated the same as text-orientation: sideways-right. |
| 7 | <div id="placeholder"></div> |
| 8 | <div style="text-orientation: upright;"> |
| 9 | <div id="t" style="-webkit-writing-mode: vertical-rl; -webkit-text-orientation: sideways;">abcd</div> |
| 10 | </div> |
| 11 | <script> |
| 12 | var t = document.getElementById("t"); |
| 13 | var receiver = document.getElementById("placeholder"); |
| 14 | receiver.textContent = window.getComputedStyle(t).getPropertyValue("-webkit-text-orientation"); |
| 15 | </script> |
| 16 | </body> |
| 17 | </html> |