[csswg-drafts] [css-display][css-pseudo] Clearly define display: contents behaviour on pseudo-elements (#6518)

nt1m has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-display][css-pseudo] Clearly define display: contents behaviour on pseudo-elements ==
https://drafts.csswg.org/css-display/#box-generation

https://drafts.csswg.org/css-pseudo/

While working on `display: contents` handling for `::backdrop`, I noticed it is not well defined for pseudo elements in general, and behaviour is inconsistent across different browsers (notably for `::marker` or `::file-selector-button`). Should we try and make some easy to understand rules?

It would be convenient if those rules were based on spec concepts, e.g. "tree-abiding pseudo-elements", "Typographic Pseudo-elements". "highlight pseudo-elements".

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/6518 using your GitHub account


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

Received on Saturday, 14 August 2021 07:56:50 UTC