summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-tables/tfoot-crash-print.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 /testing/web-platform/tests/css/css-tables/tfoot-crash-print.html
parentInitial commit. (diff)
downloadfirefox-26a029d407be480d791972afb5975cf62c9360a6.tar.xz
firefox-26a029d407be480d791972afb5975cf62c9360a6.zip
Adding upstream version 124.0.1.upstream/124.0.1
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/css-tables/tfoot-crash-print.html')
-rw-r--r--testing/web-platform/tests/css/css-tables/tfoot-crash-print.html33
1 files changed, 33 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-tables/tfoot-crash-print.html b/testing/web-platform/tests/css/css-tables/tfoot-crash-print.html
new file mode 100644
index 0000000000..00fa0070c5
--- /dev/null
+++ b/testing/web-platform/tests/css/css-tables/tfoot-crash-print.html
@@ -0,0 +1,33 @@
+<!-- quirks -->
+<!--
+ This is just a crashtest, but there's no way to express that in wpt right
+ now, so we just ensure we don't render blank
+-->
+<link rel="mismatch" href="/common/blank.html">
+<link rel="help" href="https://drafts.csswg.org/css-tables/">
+<style>
+ big {
+ font-size-adjust: 66;
+ border-right-style: dotted;
+ }
+</style>
+<script>
+ window.addEventListener('load', () => {
+ const table = document.createElement('table')
+ table.tFoot = document.getElementById('tfoot_0')
+ const element_0 = document.createElement('div')
+ table.appendChild(element_0)
+ document.documentElement.appendChild(table)
+ })
+</script>
+</head>
+<table>
+ <tfoot id='tfoot_0'>
+ <tr>
+ <tr readonly>
+ <caption>
+ <big></big>
+ </caption>
+ </tr>
+ </tfoot>
+</table>