blob: 5c8e4f0370647465b9c07e8bd6e487df4c37a0fd (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment on display:table</title>
<link rel="author" title="Manuel Rego Casasnovas" href="mailto:rego@igalia.com">
<link rel="help" href="https://drafts.csswg.org/css-contain-1/#containment-size">
<link rel="match" href="reference/pass_if_pass_below_clipped.html">
<meta name=assert content="Size containment doesn't apply to table boxes.">
<style>
div {
display: table;
contain: size;
overflow: hidden;
}
</style>
<p>Test passes if there is the word "PASS" below.</p>
<div>PASS</div>
|