diff options
author | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
---|---|---|
committer | Matt A. Tobin <mattatobin@localhost.localdomain> | 2018-02-02 04:16:08 -0500 |
commit | 5f8de423f190bbb79a62f804151bc24824fa32d8 (patch) | |
tree | 10027f336435511475e392454359edea8e25895d /layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html | |
parent | 49ee0794b5d912db1f95dce6eb52d781dc210db5 (diff) | |
download | UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.gz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.lz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.tar.xz UXP-5f8de423f190bbb79a62f804151bc24824fa32d8.zip |
Add m-esr52 at 52.6.0
Diffstat (limited to 'layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html')
-rw-r--r-- | layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html | 88 |
1 files changed, 88 insertions, 0 deletions
diff --git a/layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html b/layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html new file mode 100644 index 000000000..9fea986c9 --- /dev/null +++ b/layout/reftests/w3c-css/submitted/writing-modes-3/logical-physical-mapping-001-ref.html @@ -0,0 +1,88 @@ +<!DOCTYPE html> +<html> +<head> +<meta charset="UTF-8"> +<title>CSS Reference: border-block and border-inline logical properties in different writing modes</title> +<link rel="author" title="Manish Goregaokar" href="mailto:manishearth@gmail.com"> +<style> +#body tr td:nth-child(2) div { + writing-mode: horizontal-tb; +} +#body tr td:nth-child(3) div { + writing-mode: horizontal-tb; +} +#body tr td:nth-child(4) div { + writing-mode: vertical-rl; +} +#body tr td:nth-child(5) div { + writing-mode: vertical-rl; +} +#body tr td:nth-child(6) div { + writing-mode: vertical-lr; +} +#body tr td:nth-child(7) div { + writing-mode: vertical-lr; +} +#body tr td:nth-child(8) div { + writing-mode: sideways-lr; +} +#body tr td:nth-child(9) div { + writing-mode: sideways-lr; +} + + +#body tr td:nth-child(2n+2) div { + direction: ltr; +} +#body tr td:nth-child(2n+3) div { + direction: rtl; +} + + +td { + padding: 5px; + font-size: 13px; + background-color: silver; + width: 70px; + height: 70px; +} + + +.top { + border-bottom: 2px dotted blue; + border-top: 2px dotted orange; +} +.right { + border-left: 2px dotted blue; + border-right: 2px dotted orange; +} + +.bottom { + border-top: 2px dotted blue; + border-bottom: 2px dotted orange; +} +.left { + border-right: 2px dotted blue; + border-left: 2px dotted orange; +} +</style> +</head> +<body> +<p> + Test passes if orange dots are opposite to the blue dots in each cell. Orange dots should be on the (physical) side specified by the text in the cell. +</p> +<table> +<thead> + <tr><th>writing mode</th><th colspan=2>horizontal-tb</th><th colspan=2>vertical-rl</th><th colspan=2>vertical-lr</th><th colspan=2>sideways-lr</th></tr> + <tr><th>direction</th><th>ltr</th><th>rtl</th><th>ltr</th><th>rtl</th><th>ltr</th><th>rtl</th><th>ltr</th><th>rtl</th></tr> +</thead> +<tbody id=body> + <tr id=block-start><th>block-start</th> <td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=left>left</div></div></td></tr> + <tr id=block-end><th>block-end</th> <td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=right>right</div></div></td></tr> + <tr id=inline-start><th>inline-start</th> <td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=top>top</div></div></td></tr> + <tr id=inline-end><th>inline-end</th> <td><div class=outer><div class=right>right</div></div></td><td><div class=outer><div class=left>left</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=top>top</div></div></td><td><div class=outer><div class=bottom>bottom</div></div></td></tr> +</tbody> +</table> + +</body> +</html> |