CSS Containment Module Level 1 CR Test Suite

Privacy and Security Considerations (17 tests)

Test Refs Flags Info
+ 4 Privacy and Security Considerations
contain-style-baseline-001 = style containment and baselines
  • contain:style does not suppress baseline alignment
contain-style-breaks-001 = style containment and break-inside:avoid
  • style containment is (no longer) supposed to have any effect on the break-inside property
contain-style-breaks-002 = style containment and break-inside:avoid
  • style containment is not (any longer) supposed to have any effect on the break-inside property. Same as -001, applying containment on the parent.
contain-style-breaks-003 = style containment and break-inside:avoid
  • style containment is not (any longer) supposed to have any effect on the break-inside property. Same as -001, applying break-inside on the parent.
contain-style-breaks-004 = style containment and break-before
  • style containment is not (any longer) supposed to have any effect on the break-before property.
contain-style-breaks-005 = style containment and break-after
  • style containment is not (any longer) supposed to have any effect on the break-after property.
contain-style-counters-001 = 'contain: style' and counter
  • This test checks that when an element has 'contain: style', then counters which may be affecting its subtree are reset to 0 for such scope.
contain-style-counters-002 = 'contain: style' and counter (with 'display: contents')
  • This test checks that when an element has 'contain: style', then counters which may be affecting its subtree are reset to 0 for such scope. In this test, the div#test does not generate a principal box because of 'display: contents'. Despite that particular condition, 'contain: style' will have an effect on div#test.
contain-style-counters-003 = 'contain: style' for counters (span children of <body>)
contain-style-counters-004 = 'contain: style' for counters (span descendants of <body>)
counter-scoping-001 = style containment and counter-increment
  • counter-increment is scoped to the subtree and creates a new counter at the root of the subtree
counter-scoping-002 = style containment and counter-set
  • counter-set is scoped to the subtree and creates a new counter at the root of the subtree
counter-scoping-003 = style containment and subtree root
  • When considering the effects of the scoped property on elements inside the subtree, the element at the base of the subtree is treated as if it was the root of the document
quote-scoping-001 = style containment and open-quote
  • style containment cause the open-quote value of the content property are scoped to the element's subtree
quote-scoping-002 = style containment and close-quote
  • style containment cause the close-quote value of the content property are scoped to the element's subtree
quote-scoping-003 = style containment and no-open-quote
  • style containment cause the no-open-quote value of the content property are scoped to the element's subtree
quote-scoping-004 = style containment and no-close-quote
  • style containment cause the no-close-quote value of the content property are scoped to the element's subtree