[Webkit-unassigned] [Bug 254691] New: [CSS4 Color] [CSS4 Pseudo] getSelection() color and background color should match system color highlights

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Mar 29 14:30:53 PDT 2023


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

            Bug ID: 254691
           Summary: [CSS4 Color] [CSS4 Pseudo] getSelection() color and
                    background color should match system color highlights
           Product: WebKit
           Version: WebKit Local Build
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Layout and Rendering
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: browserbugs2 at gtalbot.org
                CC: bfulgham at webkit.org, simon.fraser at apple.com,
                    zalan at apple.com

Test:
http://www.gtalbot.org/BrowserBugsSection/CSS4Color/system-color-hightlights-vs-getSelection-001.html

Reference file:
http://www.gtalbot.org/BrowserBugsSection/CSS4Color/reference/system-color-hightlights-vs-getSelection-001-ref.html


CSS4 Color specification states:

  Highlight
      Background of item(s) selected in a control.
  https://www.w3.org/TR/css-color-4/#valdef-system-color-highlight

  HighlightText
      Text of item(s) selected in a control.
  https://www.w3.org/TR/css-color-4/#valdef-system-color-highlighttext

Firefox 102.9.0 ESR passes this test.

Epiphany 3.38.2 using WebKitGTK 2.38.5 fails this test.

Right now, there is no WPT test checking specifically this.

Chromium (Blink) equivalent bug report:
https://bugs.chromium.org/p/chromium/issues/detail?id=1429019

-- 
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/20230329/6a6d6ffa/attachment.htm>


More information about the webkit-unassigned mailing list