Re: [csswg-drafts] [cssom-view-1] Further restrictions on resolved values for insets? (#9267)

> Relpos percentages are resolved against the initial block-size of the containing block

From my testing, what happens is that if the containing block doesn't have a definite size, these percentages are treated as cyclic, and are treated as `auto` (like would happen for `height`).

If this is required by compat, it should be specified, and CSSOM should take it into account in order to round-trip.

Otherwise I would prefer changing the layout logic to match the spec and CSSOM. I don't think it makes sense to treat the percentage as cyclic, since it shouldn't affect the size of the containing block.

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


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

Received on Friday, 8 September 2023 22:40:28 UTC