Closed Bug 911770 Opened 11 years ago Closed 11 years ago

An empty ::-moz-selection rule set causes selection on page to not be visible

Categories

(Core :: DOM: CSS Object Model, defect)

defect
Not set
normal

Tracking

()

RESOLVED DUPLICATE of bug 234102

People

(Reporter: bgrins, Unassigned)

Details

If you add the CSS "::-moz-selection { }" to a page, you can no longer see your selection on that page.  See a case here: http://jsfiddle.net/bgrins/ahjvn/.  

It should use the default selection colors in this case - it is confusing that adding an empty rule set causes a change on the page, and being unable to see selection is undesirable.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → DUPLICATE
You need to log in before you can comment on or make changes to this bug.