summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-size-009.html
blob: a285d5e2b38e5b4e5aa7cf924f859a9f782aed53 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
<!DOCTYPE html>
<meta charset="utf-8">
<title>CSS Containment Test: Size containment on table-footer-group</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-footer-group elements.">
<style>
div {
  display: table-footer-group;
  contain: size;
}
section {
  overflow: hidden;
}
</style>

<p>Test passes if there is the word "PASS" below.</p>
<section>
<div>PASS</div>
</section>