Bug 253180

Summary: [GTK][WPE] Remote Web Inspector: replace deprecated CSS method 'matches' with 'is'
Product: WebKit Reporter: Przemyslaw Gorszkowski <pgorszkowski>
Component: Web InspectorAssignee: Przemyslaw Gorszkowski <pgorszkowski>
Status: RESOLVED FIXED    
Severity: Normal CC: inspector-bugzilla-changes, webkit-bug-importer
Priority: P2 Keywords: InRadar
Version: WebKit Nightly Build   
Hardware: Unspecified   
OS: Unspecified   

Przemyslaw Gorszkowski
Reported 2023-03-01 11:31:09 PST
The :matches()selector was renamed to :is() in https://github.com/w3c/csswg-drafts/issues/3258 :matches() is no longer supported by some browsers (like Chromium and Firefox) and breaks Web Inspector UI in such browsers when we connect via HTTP. In case GTK/WPE WebKit, we use HTTP version of the inspector and it can be used from any browser. In Firefox we get warning: "Unknown pseudo-class or pseudo-element ‘matches’. Ruleset ignored due to bad selector"
Attachments
Przemyslaw Gorszkowski
Comment 1 2023-03-02 02:08:25 PST
EWS
Comment 2 2023-03-06 02:43:29 PST
Committed 261264@main (1e4c1a8d21b7): <https://commits.webkit.org/261264@main> Reviewed commits have been landed. Closing PR #10927 and removing active labels.
Radar WebKit Bug Importer
Comment 3 2023-03-06 02:44:16 PST
Note You need to log in before you can comment on or make changes to this bug.