wpt / css / css-contain / contain-paint-004.html

Status: FAIL | Duration: 21ms | Subtests: 0/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi

/css/css-contain/contain-paint-004.html

<!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>

/css/reference/nothing.html

<!DOCTYPE html>
<title>CSS Reftest Reference</title>
<link rel="author" title="Morten Stenshorne" href="mstensho@chromium.org">
<p>There should be nothing below.</p>