[webkit-changes] [WebKit/WebKit] 9d2d5f: Generalize descriptor processing to remove hardcod...
Sam Weinig
noreply at github.com
Tue Dec 27 19:47:50 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9d2d5fe065c1c94361b38a94dffc95133e4a35ba
https://github.com/WebKit/WebKit/commit/9d2d5fe065c1c94361b38a94dffc95133e4a35ba
Author: Sam Weinig <weinig at apple.com>
Date: 2022-12-27 (Tue, 27 Dec 2022)
Changed paths:
M Source/WebCore/css/process-css-properties.py
Log Message:
-----------
Generalize descriptor processing to remove hardcoding in process-css-properties.py
https://bugs.webkit.org/show_bug.cgi?id=249730
rdar://103605497
Reviewed by Antti Koivisto.
Rather than adding explicit support for each new rule type (e.g.
@font-face, @counter-styles, etc.) to process-css-properties.py,
this generalizes all descriptors and utilizes the fact that the
rule type is present in the json already. While it is not common
to add new rule types, there was also no reason to hard code them.
* Source/WebCore/css/process-css-properties.py:
Canonical link: https://commits.webkit.org/258345@main
More information about the webkit-changes
mailing list