[Webkit-unassigned] [Bug 189629] New: Non-orphan list nodes are not styled correctly with selection background-color

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Fri Sep 14 13:41:38 PDT 2018


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

            Bug ID: 189629
           Summary: Non-orphan list nodes are not styled correctly with
                    selection background-color
           Product: WebKit
           Version: Other
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: jalkut at red-sweater.com
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Created attachment 349798

  --> https://bugs.webkit.org/attachment.cgi?id=349798&action=review

Screenshot showing the bug

10.14 (18A389)
Safari Version 12.0 (14606.1.36.1.9)

I've noticed if a CSS rule imposes a custom background color for ::selection elements, the color is not correctly applied to "LI" nodes that have children.

1. Open attached test.html in Safari
2. Click near the top and drag to select all the text.

Expected: all the selected rows of the list should be highlighted with red background color.

Actual: the rows correlating with "LI" nodes that have nested lists are styled with a more system-default selection style.

-- 
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/20180914/ca784aab/attachment.html>


More information about the webkit-unassigned mailing list