blob: 28e9db2d7627908ba71df06209a044590c047eba (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
|
<!DOCTYPE html>
<title>Computed value of orthogonal writing-mode on table cell</title>
<script src='/resources/testharness.js'></script>
<script src='/resources/testharnessreport.js'></script>
<link rel="help" href="https://www.w3.org/TR/css-tables-3">
<link rel="help" href="https://crbug.com/1307976">
<style>
td {
writing-mode: vertical-lr;
}
</style>
<table>
<tr>
<td>Test</td>
</tr>
</table>
<script>
test(() => {
let td = document.querySelector('td');
assert_equals(getComputedStyle(td).writingMode, 'vertical-lr');
}, 'Computed value of orthogonal writing-mode on table cell');
</script>
|