- From: Ximin Luo via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Dec 2022 21:33:03 +0000
- To: public-css-archive@w3.org
Never mind `box-sizing`, it's not the point of the overall bug even if it's how I originally discovered it. The bug exists for all similar properties, e.g. `border: inherit`. The bug can be summarised as: ~~~~ $a > $b { $property: inherit; } ~~~~ intuitively, one would expect that $b inherits $a's $property in all circumstances. But that's not the case when shadow DOM is used and $b is cut away from $a (and $property isn't an inherited property, otherwise the bug exists but isn't visible as $property gets inherited "through" the shadow DOM via other CSS rules) . OTOH, $b is in fact selected; you can apply other styles to it and that works. However `inherit` doesn't work. -- GitHub Notification of comment by infinity0 Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8184#issuecomment-1338203135 using your GitHub account -- Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config
Received on Monday, 5 December 2022 21:33:05 UTC