Skip to content

Commit

Permalink
Normalize style in makeprop.pl's output to aid replacing it
Browse files Browse the repository at this point in the history
https://bugs.webkit.org/show_bug.cgi?id=247550
rdar://102015817

Reviewed by Darin Adler.

To make replacing makeprop.pl easier in https://bugs.webkit.org/show_bug.cgi?id=247470
this updates the generated output to consistently use the following stylist choices:

- Always use fully scoped name for CSSPropertyIDs (this will also make it a bit
easier to move to a scoped enum at some point).
- Use the parameter name "id" for CSSPropertyID parameters in generated functions.
- Move all the fullly static function bodies generated for CSSPropertyNames.gperf to
be consecutive.
- Add a missing space in the static part of isInheritedPropertyTable so that all
the true's look the same.

* Source/WebCore/css/makeprop.pl:
(generateFillLayerPropertyValueSetter):
(generateValueSetter):

Canonical link: https://commits.webkit.org/256379@main
  • Loading branch information
weinig authored and Sam Weinig committed Nov 6, 2022
1 parent cd41ef8 commit 4718faa
Showing 1 changed file with 99 additions and 99 deletions.

0 comments on commit 4718faa

Please sign in to comment.