[Webkit-unassigned] [Bug 266953] New: Add '::placeholder' and '::file-selector-button' in isTreeAbidingPseudoElement

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Dec 31 15:28:29 PST 2023


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

            Bug ID: 266953
           Summary: Add '::placeholder' and '::file-selector-button' in
                    isTreeAbidingPseudoElement
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: CSS
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: ahmad.saleem792 at gmail.com

Hi Team,

While fixing another bug in the past (bug 265611), I came across this FIXME but couldn't find related bug, so I thought to create it so we can fix it.

WebKit Source: https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/css/parser/CSSSelectorParser.cpp#465

> // FIXME: This list should also include ::placeholder and ::file-selector-button

In the following function, we have to add:

case CSSSelector::PseudoElement::Placeholder:

and

case CSSSelector::PseudoElement::FileSelectorElement:


> We don't have 'Placeholder' and 'FileSelectorButton' here:

https://searchfox.org/wubkat/rev/af9971e796398c1d012ef5df9a09ed580d19bd17/Source/WebCore/css/CSSSelector.h#204

Just wanted to raise, so we can fix it.

Blink Source: https://source.chromium.org/chromium/chromium/src/+/main:third_party/blink/renderer/core/css/css_selector.cc;l=1401;drc=2755dd2e9f8848bdec96c5d99d12a179722df86d

Thanks!

-- 
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/20231231/5b23b888/attachment.htm>


More information about the webkit-unassigned mailing list