Open Bug 1134444 Opened 7 years ago Updated 1 year ago

Underline color doesn't change when color CSS attribute is set in ::-moz-selection


(Core :: DOM: Selection, defect, P5)

35 Branch





(Reporter: jplatte+mozilla, Unassigned)



(1 file)

User Agent: Mozilla/5.0 (X11; Linux x86_64; rv:35.0) Gecko/20100101 Firefox/35.0
Build ID: 20150126171358

Steps to reproduce:

Select a text with a `text-decoration: underline` part while the following CSS rule is active:

	::-moz-selection { color: red; }

Actual results:

The selected text, excluding the underline, is colored red.

Expected results:

The selected text, including the underline, is colored red.
Attached file Testcase
This bug seems similar to bug #35146, but that bug predates CSS3 and it might be intentional that underlines don't change their color when their text is selected with the default style. However, when changing the text color using CSS, I'd expect the underline to change color as it does when setting the color attribute in any other selector.
QA Whiteboard: [bugday-20150302]
Component: Untriaged → Selection
Product: Firefox → Core

Bulk-downgrade of unassigned, >=5 years untouched DOM/Storage bugs' priority and severity.

If you have reason to believe this is wrong, please write a comment and ni :jstutte.

Severity: normal → S4
Priority: -- → P5
You need to log in before you can comment on or make changes to this bug.