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)
Core
Layout: Text and Fonts
Tracking
()
NEW
People
(Reporter: tommykuo, Unassigned)
Details
Attachments
(1 file, 1 obsolete file)
|
339 bytes,
text/html
|
Details |
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/
| Reporter | ||
Updated•7 years ago
|
Attachment #8940963 -
Attachment is obsolete: true
| Reporter | ||
Comment 1•7 years ago
|
||
Comment 2•7 years ago
|
||
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.
Updated•7 years ago
|
Priority: -- → P3
Comment 3•5 years ago
|
||
(...) text-decoration is not being respected at all in ::-moz-selection
I filed bug 1612598 on that.
Updated•3 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•