Re: [csswg-drafts] [css-pseudo] Define ::backdrop (#7845)

The CSS Working Group just discussed `[css-pseudo] Define ::backdrop`, and agreed to the following:

* `RESOLVED: All 'display' values other than 'none' or 'contents' on '::backdrop' compute to 'block'.`

<details><summary>The full IRC log of that discussion</summary>
&lt;TabAtkins> https://github.com/w3c/csswg-drafts/issues/7845#issuecomment-1507536451<br>
&lt;fantasai> TabAtkins: Some questions about how ::backdrop should work in the tree<br>
&lt;fantasai> TabAtkins: First, should it be forced to 'display: block !important' in the UA stylesheet?<br>
&lt;fantasai> TabAtkins: doing so avoids some follow-up questions<br>
&lt;oriol> q+<br>
&lt;fantasai> TabAtkins: given it's just designed to put color behind an element, seems unlikely that giving it any other display type would ever matter<br>
&lt;fantasai> TabAtkins: so first question is, can we force it to 'display: block'?<br>
&lt;fantasai> oriol: I disagree with this<br>
&lt;emilio> q+<br>
&lt;Rossen_> ack oriol<br>
&lt;fantasai> oriol: because I think that 'display: none' makes sense<br>
&lt;fantasai> oriol: I would be fine would be saying that all values except 'none' and maybe 'contents' compute to 'block'<br>
&lt;fantasai> oriol: but I wouldn't do this with a UA !important rule<br>
&lt;fantasai> TabAtkins: another possibility is to lean on 'content: none', which would cause it to not generate<br>
&lt;fantasai> TabAtkins: so we don't need 'display: none' to make it disappear<br>
&lt;fantasai> oriol: I guess that could work<br>
&lt;fantasai> oriol: but 'display: none' tends to work on pseudo-elements<br>
&lt;fantasai> oriol: but I guess 'content: none' could address the use case<br>
&lt;fantasai> TabAtkins: but we could also do special computation rule<br>
&lt;Rossen_> ack emilio<br>
&lt;fantasai> emilio: My question was same as Oriol<br>
&lt;fantasai> emilio: is there a use case to set 'none'<br>
&lt;fantasai> emilio: but I'd rather magically turn to block than rely on 'content: none'<br>
&lt;fantasai> emilio: but as long as 'none' works, fine to make everything else a block<br>
&lt;fantasai> TabAtkins: proposed that all values other than 'none' or 'contents' values compute to 'block'<br>
&lt;fantasai> RESOLVED: All 'display' values other than 'none' or 'contents' on '::backdrop' compute to 'block'.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/7845#issuecomment-1671817983 using your GitHub account


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

Received on Wednesday, 9 August 2023 17:02:13 UTC