summaryrefslogtreecommitdiffstats
path: root/layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-19 00:47:55 +0000
commit26a029d407be480d791972afb5975cf62c9360a6 (patch)
treef435a8308119effd964b339f76abb83a57c29483 /layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html
parentInitial commit. (diff)
downloadfirefox-upstream/124.0.1.tar.xz
firefox-upstream/124.0.1.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to '')
-rw-r--r--layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html69
1 files changed, 69 insertions, 0 deletions
diff --git a/layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html b/layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html
new file mode 100644
index 0000000000..70172efb94
--- /dev/null
+++ b/layout/reftests/writing-mode/tables/sideways-lr-row-progression-1b.html
@@ -0,0 +1,69 @@
+<!DOCTYPE html>
+<title>CSS Test: sideways-lr Table Row/Rowgroup/Cell Ordering</title>
+<link rel="author" title="Jonathan Kew" href="mailto:jfkthame@gmail.com">
+<meta name="assert" content="This test checks that sideways-lr tables order rows/rowgroups left to right and cells top-to-bottom (RTL) per 'direction'.">
+<link rel="help" href="http://www.w3.org/TR/css-writing-modes-3/#writing-mode">
+<!-- based on vertical-rl Table Row/Rowgroup/Cell Ordering tests by Elika J. Etemad -->
+
+<style>
+ .test {
+ writing-mode: sideways-lr;
+ direction: rtl;
+ }
+
+ 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 colspan=2>
+ <td class="b">
+ <td class="a">
+ </tr>
+ </thead>
+ <tfoot>
+ <tr>
+ <td class="d">
+ <td class="c">
+ <td colspan=2>
+ </tr>
+ </tfoot>
+ <tbody>
+ <tr>
+ <td class="e">
+ <td colspan=2>
+ <td rowspan=3>
+ </tr>
+ <tr>
+ <td rowspan=2 colspan=2>
+ <td class="f">
+ </tr>
+ <tr>
+ <td class="g">
+ </tr>
+ </tbody>
+ <tbody>
+ <tr>
+ <td colspan=3>
+ <td class="h">
+ </tr>
+ </tbody>
+</table>