summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 01:47:29 +0000
commit0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d (patch)
treea31f07c9bcca9d56ce61e9a1ffd30ef350d513aa /layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html
parentInitial commit. (diff)
downloadfirefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.tar.xz
firefox-esr-0ebf5bdf043a27fd3dfb7f92e0cb63d88954c44d.zip
Adding upstream version 115.8.0esr.upstream/115.8.0esr
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html')
-rw-r--r--layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html68
1 files changed, 68 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html b/layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html
new file mode 100644
index 0000000000..c2096757f7
--- /dev/null
+++ b/layout/reftests/writing-mode/tables/sideways-rl-row-progression-1a.html
@@ -0,0 +1,68 @@
+<!DOCTYPE html>
+<title>CSS Test: sideways-rl Table Row/Rowgroup/Cell Ordering</title>
+<meta name="assert" content="This test checks that sideways-rl tables order rows/rowgroups right to left and cells top-to-bottom (LTR) per 'direction'.">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode">
+<!-- based on equivalent testcase for vertical-rl mode by Elika J. Etemad -->
+
+<style>
+ .test {
+ writing-mode: sideways-rl;
+ direction: ltr;
+ }
+
+ table {
+ border-spacing: 0;
+ margin: 1em;
+ }
+ td {
+ width: 1em;
+ height: 1em;
+ border: solid gray;
+ }
+
+ .a { background: navy}
+ .b { background: blue }
+ .c { background: aqua }
+ .d { background: teal }
+ .e { background: purple }
+ .f { background: fuchsia }
+ .g { background: yellow }
+ .h { background: orange }
+</style>
+
+<table class="test">
+ <thead>
+ <tr>
+ <td class="a">
+ <td class="b">
+ <td colspan=2>
+ </tr>
+ </thead>
+ <tfoot>
+ <tr>
+ <td colspan=2>
+ <td class="c">
+ <td class="d">
+ </tr>
+ </tfoot>
+ <tbody>
+ <tr>
+ <td rowspan=3>
+ <td colspan=2>
+ <td class="e">
+ </tr>
+ <tr>
+ <td class="f">
+ <td rowspan=2 colspan=2>
+ </tr>
+ <tr>
+ <td class="g">
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td class="h">
+ <td colspan=3>
+ </tr>
+ </tbody>
+</table>