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

[csswg-drafts] [cssom] getComputedStyle(elm, '::selection') works in WebKit, Blink

From: Simon Pieters via GitHub <sysbot+gh@w3.org>
Date: Wed, 16 Nov 2016 09:41:21 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-189646263-1479289279-sysbot+gh@w3.org>
zcorpan has just created a new issue for 
https://github.com/w3c/csswg-drafts:

== [cssom] getComputedStyle(elm, '::selection') works in WebKit, Blink
 ==
https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle

The spec only supports ::before and ::after pseudo-elements in this 
API. WebKit and Blink also support ::selection.

http://software.hixie.ch/utilities/js/live-dom-viewer/saved/4666

(WebKit needs the timeout, which seems like a bug.)

Gecko/IE/Edge do not support this. (As far as I can tell Edge doesn't 
support ::selection at all, but IE9..11 does?)

Should Gecko and Edge add ::selection here? Or should WebKit and Blink
 drop it?

cc @rune-opera 

Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/717 using your GitHub 
account
Received on Wednesday, 16 November 2016 09:41:28 UTC

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