diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-16-crash.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-16-crash.html | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-16-crash.html b/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-16-crash.html new file mode 100644 index 0000000000..80e5d06e11 --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/content-visibility/slot-content-visibility-16-crash.html @@ -0,0 +1,14 @@ +<!DOCTYPE html> +<link rel=author href="mailto:jarhar@chromium.org"> +<link rel=help href="https://bugs.chromium.org/p/chromium/issues/detail?id=1251931"> + +<div> + <template shadowroot=open></template> + <span id="outside"></span> +</div> +<div style="content-visibility:hidden"></div> +<script> + getComputedStyle(outside).color; + outside.style.color = "green"; + getComputedStyle(outside).color; +</script> |