diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html')
-rw-r--r-- | testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html b/testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html new file mode 100644 index 0000000000..b86a4091a2 --- /dev/null +++ b/testing/web-platform/tests/css/css-contain/container-queries/chrome-legacy-skip-recalc.html @@ -0,0 +1,20 @@ +<!doctype html> +<title>CSS Container Queries Test: Chrome legacy layout skipping style recalc</title> +<link rel="help" href="https://drafts.csswg.org/css-contain-3/#size-container"> +<link rel="help" href="https://crbug.com/1288879"> +<link rel="match" href="/css/reference/pass_if_pass_below.html"> +<style> + #container { + container-type: inline-size; + } + #multicol { + column-count: 1; + } + + @supports not (container-type: inline-size) { + #container { display: none } + } +</style> +<p>Test passes if there is the word "PASS" below.</p> +<div id="container"><span>PASS</span></div> +<span id="multicol"><table></table></span> |