Bug 255979 - [CSS typed OM] CSSStyleValue.parse only accepts properties that are enabled in strictCSSParserContext
Summary: [CSS typed OM] CSSStyleValue.parse only accepts properties that are enabled i...
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:
 
Reported: 2023-04-26 04:10 PDT by Antti Koivisto
Modified: 2023-04-26 08:45 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Antti Koivisto 2023-04-26 04:10:00 PDT
We currently pass strictCSSParserContext() to the CSSParser which does not contain any settings. This creates a discrepancy between which properties are allowed by which API.
Comment 1 Antti Koivisto 2023-04-26 04:11:05 PDT
rdar://108249093
Comment 2 Antti Koivisto 2023-04-26 04:24:20 PDT
Pull request: https://github.com/WebKit/WebKit/pull/13193
Comment 3 EWS 2023-04-26 08:45:56 PDT
Committed 263415@main (f49785eb803f): <https://commits.webkit.org/263415@main>

Reviewed commits have been landed. Closing PR #13193 and removing active labels.