Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: ebc41da45e849b096eed7c0c7be3c1210cdf96f4
      
https://github.com/WebKit/WebKit/commit/ebc41da45e849b096eed7c0c7be3c1210cdf96f4
  Author: Sam Weinig <wei...@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


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

Reply via email to