summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html21
1 files changed, 21 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html
new file mode 100644
index 0000000000..cde696e2f6
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/content-visibility/content-visibility-auto-applied-to-th-crash.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <link rel="author" title="Martin Robinson" href="mailto:mrobinson@igalia.com">
+ <link rel="help" href="https://drafts.csswg.org/css-contain/#content-visibility">
+ <meta name="assert" content="content-visiblity: auto on a <th> element should not cause a crash.">
+ <style>
+ TR {
+ content-visibility: auto;
+ }
+ * {
+ inset-block-end: 21%;
+ }
+ </style>
+</head>
+<body>
+ <table>
+ <th>
+ <sub>
+</body>
+</html>