summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html
diff options
context:
space:
mode:
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html')
-rw-r--r--testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html20
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html b/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html
new file mode 100644
index 0000000000..3bbe97ce1d
--- /dev/null
+++ b/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-13-crash.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<link rel=author href="mailto:jarhar@chromium.org">
+<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1250391">
+
+<script>
+ function go() {
+ const range = document.createRange();
+ range.setEnd(document.querySelector('textarea'), 0);
+ document.querySelector('progress').getBoundingClientRect();
+ range.getBoundingClientRect();
+ }
+</script>
+
+<body onload='go()'>
+ <progress>
+ <textarea>hello</textarea>
+ </progress>
+ <div style="content-visibility:hidden"></div>
+</body>
+