summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-size-scrollbars-001.html
blob: 26f0d81da8ceac6df92325bf33d15d01c0d3d432 (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 scrollbars</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/contain-size-scrollbars-001-ref.html">
<meta name=assert content="This test checks that the size of an element with 'contain: size' includes the scrollbars too.">
<style>
div {
  contain: size;
  display: inline-block;
  border: solid thick;
  overflow: scroll;
}
</style>
<p>This test passes if it has the same output as the reference.</p>
<div>FAIL</div>