Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 4718faa509f327097a30847ee21ede844aff6670
      
https://github.com/WebKit/WebKit/commit/4718faa509f327097a30847ee21ede844aff6670
  Author: Sam Weinig <wei...@apple.com>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

  Changed paths:
    M Source/WebCore/css/makeprop.pl

  Log Message:
  -----------
  Normalize style in makeprop.pl's output to aid replacing it
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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to