summaryrefslogtreecommitdiffstats
path: root/third_party/WebKit/LayoutTests/fast/table/margins-flipped-text-direction.html
blob: 10f674025fb6522078c262022ca433e458a92ee9 (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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
<!DOCTYPE html>
<html>
<head>
<style>
div {
    position: relative;
    width: 600px;
}
table {
    margin-left: 10px;
    margin-right: 20px;
    width: 200px;
    border: 1px solid black;
}
</style>
<script src="../../resources/check-layout.js"></script>
</head>

<body onload="checkLayout('div')">
<div style="direction: ltr">
<table data-offset-x=10 style="direction: ltr">
    <tr><td>Hello</td></tr>
</table>
<table data-offset-x=10 style="direction: rtl">
    <tr><td>Hello</td></tr>
</table>
</div>

<div style="direction: rtl">
<table data-offset-x=380 style="direction: ltr">
    <tr><td>Hello</td></tr>
</table>
<table data-offset-x=380 style="direction: rtl">
    <tr><td>Hello</td></tr>
</table>
</div>

</div>
</body>
</html>