blob: b6abe574b574d735c8ca4a9c151123bfb3bf6212 [file] [log] [blame]
mmaxfield@apple.com397e9522015-11-03 17:13:24 +00001<!DOCTYPE html>
2<html>
3<head>
4</head>
5<body>
6This 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>
12var t = document.getElementById("t");
13var receiver = document.getElementById("placeholder");
14receiver.textContent = window.getComputedStyle(t).getPropertyValue("-webkit-text-orientation");
15</script>
16</body>
17</html>