W3C home > Mailing lists > Public > public-css-archive@w3.org > January 2017

[csswg-drafts] [css-pseudo-elements] There is nothing in the spec about where pseudo-elements inherit style from, in general

From: Boris Zbarsky via GitHub <sysbot+gh@w3.org>
Date: Wed, 18 Jan 2017 04:22:46 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-201476094-1484713364-sysbot+gh@w3.org>
bzbarsky has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [css-pseudo-elements] There is nothing in the spec about where 
pseudo-elements inherit style from, in general ==
There's something about not having decided how it works for 
::selection, and ::before/::after/::first-lettter/::first-line have 
their weirdnesses that are defined in other specs.  But for others 
it's simple not defined. 

For example, does ::placeholder inherit from its originating element?
  From nothing?  Something else?

I would think the default should be to inherit from the originating 
element unless specified otherwise.  The other option is to have every
 pseudo-element defined in this spec and other specs explicitly say 
where it inherits from.

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/953 using your GitHub 
account
Received on Wednesday, 18 January 2017 04:22:53 UTC

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