W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

[csswg-drafts] [selectors] Pseudo-class for details

From: Andrea Rendine via GitHub <sysbot+gh@w3.org>
Date: Mon, 17 Oct 2016 10:02:07 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-183374471-1476698525-sysbot+gh@w3.org>
AndySky21 has just created a new issue for 

== [selectors] Pseudo-class for details ==

Given the description for pseudo-classes and the fact that element 
interactivity is meant to be handled by UAs instead of relying upon 
scripts, it would be logical and consistent with other interactive 
elements if `<details>` open state were matched by an `:open` pseudo 
On the other hand (and as stated by @chaals), this would would provide
 a CSS styling hook without the need for UAs to add/remove a content 
attribute according to user interaction. As a consequence, 
`<details>.open` IDL property will be allowed to reflect the element 
state instead of the content attribute.

Related issue: https://github.com/w3c/html/issues/600

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/611 using your GitHub 
Received on Monday, 17 October 2016 10:02:15 UTC

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