[Webkit-unassigned] [Bug 141774] Support text decorations for ::selection

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Mon Oct 29 12:58:01 PDT 2018


https://bugs.webkit.org/show_bug.cgi?id=141774

--- Comment #2 from Daniel Bates <dbates at webkit.org> ---
The CSS text-decorations property is not an inherited property. Even if we substituted ::selection for ::-moz-selection in the attached test case (attachment #246852), a text decoration would not be expected to paint when selecting the underlined test because text-decoration is not inherited. If we changed the following snippet in the test case from:

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

to

::selection {
    color: red;
    text-decoration: inherit;
}

then the text-decoration would be inherited.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20181029/a6cbe456/attachment.html>


More information about the webkit-unassigned mailing list