Bug 236431 - [:has() pseudo-class] Nullptr crash with non-function :has
Summary: [:has() pseudo-class] Nullptr crash with non-function :has
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: CSS (show other bugs)
Version: WebKit Nightly Build
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Antti Koivisto
URL:
Keywords: InRadar
Depends on:
Blocks: 227702
  Show dependency treegraph
 
Reported: 2022-02-10 00:19 PST by Antti Koivisto
Modified: 2022-02-10 05:10 PST (History)
9 users (show)

See Also:


Attachments
Patch (2.98 KB, patch)
2022-02-10 00:22 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff
Patch (5.35 KB, patch)
2022-02-10 00:51 PST, Antti Koivisto
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2022-02-10 00:19:04 PST
:has { }

should not parse.
Comment 1 Antti Koivisto 2022-02-10 00:19:18 PST
rdar://87061239
Comment 2 Antti Koivisto 2022-02-10 00:22:02 PST
Created attachment 451503 [details]
Patch
Comment 3 Antti Koivisto 2022-02-10 00:51:07 PST
Created attachment 451504 [details]
Patch
Comment 4 Antti Koivisto 2022-02-10 00:51:48 PST
Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/32791
Comment 5 EWS Watchlist 2022-02-10 00:52:38 PST
This patch modifies the imported WPT tests. Please ensure that any changes on the tests (not coming from a WPT import) are exported to WPT. Please see https://trac.webkit.org/wiki/WPTExportProcess
Comment 6 EWS 2022-02-10 03:11:57 PST
Committed r289526 (247057@main): <https://commits.webkit.org/247057@main>

All reviewed patches have been landed. Closing bug and clearing flags on attachment 451504 [details].