1
0
Fork 0
firefox/testing/web-platform/tests/css/css-contain/contain-strict-002.html
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

26 lines
696 B
HTML

<!DOCTYPE html>
<meta charset="UTF-8">
<title>CSS Containment Test: 'contain: strict' and block box</title>
<link rel="author" title="Gérard Talbot" href="http://www.gtalbot.org/BrowserBugsSection/css21testsuite/">
<link rel="help" href="https://www.w3.org/TR/css-contain-1/#contain-property">
<link rel="match" href="reference/contain-paint-size-001-ref.html">
<style>
div
{
background-color: red;
border: green solid 1em;
color: red;
contain: strict;
font-size: 20px;
width: 166px;
}
</style>
<p>Test passes if there is a short horizontal green stripe and <strong>no red</strong>.
<div>FAIL FAIL FAIL FAIL FAIL FAIL</div>