[Webkit-unassigned] [Bug 266274] New: Remove ControlStates::State in favor of ControlStyle::State

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Dec 12 02:22:32 PST 2023


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

            Bug ID: 266274
           Summary: Remove ControlStates::State in favor of
                    ControlStyle::State
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: DOM
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: annevk at annevk.nl

Unlike RenderTheme::extractControlStyleForRenderer(), RenderTheme::extractControlStatesForRenderer() does not account for shadow host ancestors. The latter also essentially duplicates the exact functionality.

This almost caused a problem for iOS switch controls which happen to use the latter, but they only rely on a state which happens to be shared. Still, that will not last forever so we need to address this.

-- 
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/20231212/b750d546/attachment-0001.htm>


More information about the webkit-unassigned mailing list