summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-contain/contain-paint-004.html
blob: d37676dda9c4910d9e22b9553ea93616ca617d1a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
<!doctype html>
<html lang=en>
  <meta charset=utf-8>
  <title>CSS-contain test: paint containment applies to the principal box for list items</title>
  <link rel="author" title="Florian Rivoal" href="https://florian.rivoal.net">
  <meta name=flags content="">
  <meta name=assert content="paint containment applies to the principal box, which for list items excludes the list marker">
  <link rel="match" href="../reference/nothing.html">
  <link rel=help href="https://drafts.csswg.org/css-contain-1/#containment-paint">

<style>
li { contain: paint; }
</style>

<p>There should be nothing below.</p>
<ol>
  <li>
  <li>
  <li>
  <li>
  <li>
  <li>
</ol>