diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-07 17:32:43 +0000 |
commit | 6bf0a5cb5034a7e684dcc3500e841785237ce2dd (patch) | |
tree | a68f146d7fa01f0134297619fbe7e33db084e0aa /testing/web-platform/tests/css/CSS2/linebox/crashtests | |
parent | Initial commit. (diff) | |
download | thunderbird-upstream.tar.xz thunderbird-upstream.zip |
Adding upstream version 1:115.7.0.upstream/1%115.7.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'testing/web-platform/tests/css/CSS2/linebox/crashtests')
-rw-r--r-- | testing/web-platform/tests/css/CSS2/linebox/crashtests/dir-change-simplifed-crash.html | 16 | ||||
-rw-r--r-- | testing/web-platform/tests/css/CSS2/linebox/crashtests/inline-block-baseline-crash.html | 12 |
2 files changed, 28 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/CSS2/linebox/crashtests/dir-change-simplifed-crash.html b/testing/web-platform/tests/css/CSS2/linebox/crashtests/dir-change-simplifed-crash.html new file mode 100644 index 0000000000..4e05bc8cb9 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/linebox/crashtests/dir-change-simplifed-crash.html @@ -0,0 +1,16 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css2/#direction"> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<style> +body, div { position: absolute; } +body { direction: rtl; white-space: pre-line; } +</style> +<body>  
'123456789<div> </div> +<script> + // Force layout and await paint + document.body.offsetLeft; + requestAnimationFrame(() => requestAnimationFrame(() => { + document.querySelector("div").dir = "ltr"; + })); +</script> +</body> diff --git a/testing/web-platform/tests/css/CSS2/linebox/crashtests/inline-block-baseline-crash.html b/testing/web-platform/tests/css/CSS2/linebox/crashtests/inline-block-baseline-crash.html new file mode 100644 index 0000000000..8c88583c55 --- /dev/null +++ b/testing/web-platform/tests/css/CSS2/linebox/crashtests/inline-block-baseline-crash.html @@ -0,0 +1,12 @@ +<!DOCTYPE html> +<link rel="help" href="https://drafts.csswg.org/css2/#propdef-vertical-align"> +<link rel="author" title="Koji Ishii" href="mailto:kojii@chromium.org"> +<style> +div::after { + display: layout(parent); + content: ""; +} +</style> +<body style="columns: 2"> + <div style="display: inline-block"></div> +</body> |