<!DOCTYPE html>
<title>CSS Containment: contain:style and &lt;ol&gt; (&lt;li&gt; container)</title>
<link rel="help" href="https://drafts.csswg.org/css-contain-2/#containment-style">
<link rel="match" href="reference/contain-style-ol-ordinal-li-container-ref.html">
<ol>
  <li>A</li>
  <li>B</li>
  <li style="contain:style">X</li>
  <li style="contain:style">Y</li>
  <li>C</li>
  <li>D</li>
</ol>
