Bug 253180
Summary: | [GTK][WPE] Remote Web Inspector: replace deprecated CSS method 'matches' with 'is' | ||
---|---|---|---|
Product: | WebKit | Reporter: | Przemyslaw Gorszkowski <pgorszkowski> |
Component: | Web Inspector | Assignee: | 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
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 | ||
---|---|---|
Add attachment proposed patch, testcase, etc. |
Przemyslaw Gorszkowski
Pull request: https://github.com/WebKit/WebKit/pull/10927
EWS
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
<rdar://problem/106280337>