W3C home > Mailing lists > Public > www-style@w3.org > June 2013

[cssom] What does Element.pseudo() return when there's no corresponding pseudo-element?

From: L. David Baron <dbaron@dbaron.org>
Date: Sat, 1 Jun 2013 16:06:52 +0900
To: www-style@w3.org
Message-ID: <20130601070652.GA19920@crum.dbaron.org>
describes an Element.pseudo() method.  It's not clear to me what
this returns when the pseudo-element isn't generated (in other
words, when the 'content' property [1] computes to 'none')

Should it return null, or should it return an PseudoElement object
whose style, when queried, shows a computed value of 'content:none'?


[1] http://www.w3.org/TR/2011/REC-CSS2-20110607/generate.html#propdef-content

𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                           http://www.mozilla.org/   𝄂
Received on Saturday, 1 June 2013 10:09:36 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:30 UTC