Open Bug 1428987 Opened 7 years ago Updated 3 years ago

The color of decoration lines in a selection is not the color that is specified

Categories

(Core :: Layout: Text and Fonts, defect, P3)

defect

Tracking

()

People

(Reporter: tommykuo, Unassigned)

Details

Attachments

(1 file, 1 obsolete file)

Attached file https://jsfiddle.net/nzk8e1sL/1/ (obsolete) —
In this case[1], I think when the text is selected, the color of the decoration should change to the color that is specified in ::selection. [1]: https://jsfiddle.net/nzk8e1sL/1/
Attachment #8940963 - Attachment is obsolete: true
It's not just color; the testcase in comment 1 has ::-moz-selection { color: red; background: yellow; text-decoration: overline red; } but when I select some of the text, it remains underlined (not overlined). It looks like text-decoration is not being respected at all in ::-moz-selection, although https://developer.mozilla.org/en-US/docs/Web/CSS/::selection doesn't mention any such limitation.
Priority: -- → P3

(...) text-decoration is not being respected at all in ::-moz-selection

I filed bug 1612598 on that.

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

Attachment

General

Created:
Updated:
Size: