[webkit-changes] [WebKit/WebKit] ebc41d: 'parser-grammar-unused-reason' used for a few prop...
Sam Weinig
noreply at github.com
Tue Jan 3 15:05:04 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: ebc41da45e849b096eed7c0c7be3c1210cdf96f4
https://github.com/WebKit/WebKit/commit/ebc41da45e849b096eed7c0c7be3c1210cdf96f4
Author: Sam Weinig <weinig at apple.com>
Date: 2023-01-03 (Tue, 03 Jan 2023)
Changed paths:
M Source/WebCore/css/CSSProperties.json
M Source/WebCore/css/process-css-properties.py
Log Message:
-----------
'parser-grammar-unused-reason' used for a few properties with used parser-grammars
https://bugs.webkit.org/show_bug.cgi?id=250026
rdar://103835748
Reviewed by Tim Nguyen.
Enforce that 'parser-grammar-unused-reason' is only used when 'parser-grammar-unused'
is also set.
* Source/WebCore/css/CSSProperties.json:
Replace use of 'parser-grammar-unused-reason' with 'parser-grammar-comment' for
properties with valid 'parser-grammar's.
* Source/WebCore/css/process-css-properties.py:
(StylePropertyCodeGenProperties.from_json):
(DescriptorCodeGenProperties.from_json):
Add check that 'parser-grammar-unused-reason' is only set when 'parser-grammar-unused'
is also set.
Canonical link: https://commits.webkit.org/258405@main
More information about the webkit-changes
mailing list