Changes between Version 4 and Version 5 of CSSContainment
- Timestamp:
- Apr 19, 2021 1:58:06 AM (2 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CSSContainment
v4 v5 40 40 for `RenderObject::markContainingBlocksForLayout` to avoid marking the contained element ancestors. 41 41 42 = Paint Containment = 43 44 Following the paint containment box algorithm [5]: 45 46 - The paint containment box establishes an absolute positioning containing block and a fixed positioning containing block. This needs changes in `RenderElement::canContainFixedPositionObjects` and `RenderElement::canContainAbsolutelyPositionedObjects`. 47 48 - The paint containment box establishes an independent formatting context. To implement this, `RenderBox::createsNewFormattingContext` will have to be adapted. 49 50 - The paint containment box creates a stacking context. This requires a change in `Adjuster::adjust()` in the `if (style.hasAutoUsedZIndex())` condition. 51 42 52 [1] https://www.w3.org/TR/css-contain-1/ [[br]] 43 53 [2] https://www.w3.org/TR/css-contain-1/#containment-size [[br]] 44 54 [3] https://www.w3.org/TR/css-contain-1/#containment-layout [[br]] 45 55 [4] https://www.w3.org/TR/css-contain-1/#layout-containment-box [[br]] 56 [5] https://www.w3.org/TR/css-contain-1/#paint-containment-box [[br]]