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

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