diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 09:22:09 +0000 |
commit | 43a97878ce14b72f0981164f87f2e35e14151312 (patch) | |
tree | 620249daf56c0258faa40cbdcf9cfba06de2a846 /testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html | |
parent | Initial commit. (diff) | |
download | firefox-43a97878ce14b72f0981164f87f2e35e14151312.tar.xz firefox-43a97878ce14b72f0981164f87f2e35e14151312.zip |
Adding upstream version 110.0.1.upstream/110.0.1upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html')
-rw-r--r-- | testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html | 127 |
1 files changed, 127 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html b/testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html new file mode 100644 index 0000000000..eac7ca9af9 --- /dev/null +++ b/testing/web-platform/tests/css/css-writing-modes/reference/direction-upright-002.html @@ -0,0 +1,127 @@ +<!DOCTYPE html> +<title>Reftest Reference</title> + +<style> + body > div { + border: solid silver; + float: left; + margin: 1em; + border-inline-start-color: orange; + border-block-start-color: aqua; + border-inline-end-color: lime; + border-block-end-color: yellow; + } + colgroup:first-child { background: fuchsia; } + col:last-child { background: purple; } + .flex { display: flex; } + .grid { grid-template-columns: auto auto } + hr { clear: both } +</style> + +<p>Test passes if both rows of boxes are identical (coloring, order, orientation, and arrangement of contents). + +<div style="writing-mode: vertical-rl; text-orientation: upright"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div style="writing-mode: vertical-lr; text-orientation: upright"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> + +<div dir=rtl> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div dir=rtl style="writing-mode: sideways-rl"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div dir=rtl style="writing-mode: sideways-lr"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> + +<hr> + +<div style="writing-mode: vertical-rl; text-orientation: upright"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div style="writing-mode: vertical-lr; text-orientation: upright"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> + +<div dir=rtl> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div dir=rtl style="writing-mode: sideways-rl"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> +<div dir=rtl style="writing-mode: sideways-lr"> + <table> + <colgroup></colgroup> + <colgroup><col><col></colgroup> + <tr><td>A<td>B<td>C + </table> + <div class=flex>A <span>B</span></div> + <div class=grid>A <span>B</span></div> + <div>A <ruby>B<rt>b</rt> C<rt>c</rt></ruby><ruby>D<rt>d</rt> E<rt>e</rt></ruby></div> +</div> |