W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2021

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

From: Tim Nguyen via GitHub <sysbot+gh@w3.org>
Date: Sat, 14 Aug 2021 07:56:45 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-970856490-1628927803-sysbot+gh@w3.org>
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 ==


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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:42 UTC