Re: [csswg-drafts] [css-display-3] Can `<style>` & `<script>`computes `display: contents` to `display: none`? (#12082)

Treating it as `display:none` is done for kinda-replaced elements or elements with magic behavior. I see no reason to do it for `<style>` and `<script>`. Just don't set `display: contents` if you don't want to see the contents.

-- 
GitHub Notification of comment by Loirooriol
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/12082#issuecomment-2804865800 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 12:21:27 UTC