Re: [csswg-drafts] [css-backgrounds-3][css-borders-4] Only the principal box should get a shadow (#9286)

I seem to recall that properties default to the grid box. Only when it would not make sense do they apply on the wrapper box. I hate the existence of the two boxes, but I have stopped fighting over it 😂

This is what the spec says at the moment:

> The computed values of properties [position](https://drafts.csswg.org/css-position-3/#propdef-position), [float](https://drafts.csswg.org/css2/#propdef-float), [margin](https://drafts.csswg.org/css-box-4/#propdef-margin)-*, [top](https://www.w3.org/TR/CSS21/visuren.html#propdef-top), [right](https://www.w3.org/TR/CSS21/visuren.html#propdef-right), [bottom](https://www.w3.org/TR/CSS21/visuren.html#propdef-bottom), and [left](https://drafts.csswg.org/css-position-3/#propdef-left) on the table are used on the table-wrapper box and not the table grid box; the same holds true for the properties whose use could force the used value of [transform-style](https://drafts.csswg.org/css-transforms-2/#propdef-transform-style) to flat (see [list](https://drafts.csswg.org/css-transforms-2/#grouping-property-values)) and their shorthands/longhands relatives: this list currently includes [overflow](https://drafts.csswg.org/css-overflow-3/#propdef-overflow), [opacity](https://drafts.csswg.org/css-color-4/#propdef-opacity), [filter](https://drafts.fxtf.org/filter-effects-1/#propdef-filter), [clip](https://drafts.fxtf.org/css-masking-1/#propdef-clip), [clip-path](https://drafts.fxtf.org/css-masking-1/#propdef-clip-path), [isolation](https://drafts.fxtf.org/compositing-2/#propdef-isolation), [mask](https://drafts.fxtf.org/css-masking-1/#propdef-mask)-*, [mix-blend-mode](https://drafts.fxtf.org/compositing-2/#propdef-mix-blend-mode), [transform](https://drafts.csswg.org/css-transforms-1/#propdef-transform)-* and [perspective](https://drafts.csswg.org/css-transforms-2/#propdef-perspective). 
Where the specified values are not applied on the table grid and/or wrapper boxes, the unset values are used instead for that box (inherit or initial, depending on the property).

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


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

Received on Tuesday, 28 November 2023 16:46:08 UTC