Closed Bug 1220404 Opened 9 years ago Closed 9 years ago

Support ::selection pseudoclass

Categories

(Core :: CSS Parsing and Computation, defect)

41 Branch
defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 509958

People

(Reporter: fresheneesz, Unassigned)

Details

User Agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/46.0.2490.80 Safari/537.36

Steps to reproduce:

Tried to insertRule on a stylesheet object that include ::selection. 


Actual results:

Throws an exception.


Expected results:

It should work, just like sheet.insertRule('.whatever::-moz-selection { }', 2) works. Why does firefox only support the -moz- extension here?
Status: UNCONFIRMED → RESOLVED
Closed: 9 years ago
Component: Untriaged → CSS Parsing and Computation
OS: Unspecified → All
Product: Firefox → Core
Hardware: Unspecified → All
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.