Re: [csswg-drafts] [css-position-3] List all specified properties that establish a containing block for fixed-position elements (#12083)

The list is not exhaustive indeded.

Listing all possibilities seems problematic from the maintenance point of view, the list would easily become obsolete.

Also, css-position-3 is just a WD, but let's say it becomes a REC at some point. A new WD spec may add a new property that establishes a containing block for fixed-position elements, but adding it into the list would be problematic.

If you are just trying to satisfy your curiosity, you can check the source code of some browser:
 - https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/layout/layout_object.cc;l=1831-1882;drc=f667feb8a5c6f227b49328ce78a062acc4f81187
 - https://searchfox.org/wubkat/rev/07dade918043f99fb9ff8d13cbba3414b85a054d/Source/WebCore/rendering/RenderElementInlines.h#101-113
 - https://searchfox.org/mozilla-central/rev/2c71f1e9b5947612abdc16b64008162c58c1b9d3/layout/style/ComputedStyleInlines.h#97-117
 - https://github.com/servo/servo/blob/da4ea0f0965414733f0352e76ff416b1ded75a08/components/layout_2020/style_ext.rs#L793-L826

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12083#issuecomment-2807691841 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 15 April 2025 22:41:29 UTC