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

[csswg-drafts] [cssom] getComputedStyle only supports ::before/::after

From: Geoffrey Sneddon via GitHub <sysbot+gh@w3.org>
Date: Sat, 30 Dec 2017 04:52:22 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-285183953-1514609541-sysbot+gh@w3.org>
gsnedders has just created a new issue for https://github.com/w3c/csswg-drafts:

== [cssom] getComputedStyle only supports ::before/::after ==

Roughly, from what I've tested:

* Chrome, Firefox, and Safari all support gCS `::first-letter` and `::first-line`.
* Firefox throws `NS_ERROR_NOT_AVAILABLE` for `::marker` (and doesn't support `::marker` AFAIK), Chrome doesn't support it so returns the element, and Safari does support `::marker` and does support it for gCS
* Firefox and Safari support gCS `::placeholder`, Chrome does not (despite supporting the feature)

Is there any reason not to allow all pseudo-elements for gCS?

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2149 using your GitHub account
Received on Saturday, 30 December 2017 04:52:32 UTC

This archive was generated by hypermail 2.4.0 : Thursday, 24 March 2022 20:26:45 UTC