[Webkit-unassigned] [Bug 161747] Class selectors on pseudo elements should be forbidden.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Sep 3 05:34:24 PDT 2023


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

--- Comment #3 from Ahmad Saleem <ahmad.saleem792 at gmail.com> ---
(In reply to Ahmad Saleem from comment #2)
> Plus for some reason, we don't have 'return nulltpr' in this:
> 
> 
>     if (m_precedingPseudoElement) {
>         // FIXME: https://bugs.webkit.org/show_bug.cgi?id=161747
>         // The UASheetMode check is a work-around to allow this selector in
> mediaControls(New).css:
>         // video::-webkit-media-text-track-region-container.scrolling
>         if (m_context.mode != UASheetMode &&
> !isSimpleSelectorValidAfterPseudoElement(*selector,
> *m_precedingPseudoElement))
>             m_failedParsing = true;
> // HERE MISSING Return?
>     }

Adding 'return nullptr;' compiles - haven't run any test.

-- 
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/20230903/5e6c03a4/attachment.htm>


More information about the webkit-unassigned mailing list