- From: Ximin Luo via GitHub <sysbot+gh@w3.org>
- Date: Mon, 05 Dec 2022 12:07:35 +0000
- To: public-css-archive@w3.org
This feature becomes a bug when it is used to implement things native to HTML like `<details>`, as opposed to browser elements or intentional uses of the shadow DOM, because it results in
details > summary { box-sizing: inherit; }
behaving absurdly.
| usage | intended by user? | controllable by user? | works |
| ---- | ---- | ---- | ---- |
| regular HTML without internal shadow DOM elements | Y | Y | ✓ |
| `<details>` etc with internal shadow DOM elements | N | semi | ✗ |
| browser elements using shadow DOM | N | N | ✓ |
| explicit uses of shadow DOM via attachShadow | Y | Y | ✓ |
Can you read the rest of my comments including my suggestion about changing the behaviour of inheritance so it behaves more intuitively without absurdities?
--
GitHub Notification of comment by infinity0
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8184#issuecomment-1337227521 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 12:07:37 UTC