[webkit-changes] [WebKit/WebKit] 620bdd: Remove non-BNF parser grammar support from CSSProp...

Sam Weinig noreply at github.com
Tue Dec 27 17:57:51 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 620bddfab051da187dd5f765b9e14859b7f326b8
      https://github.com/WebKit/WebKit/commit/620bddfab051da187dd5f765b9e14859b7f326b8
  Author: Sam Weinig <weinig at apple.com>
  Date:   2022-12-27 (Tue, 27 Dec 2022)

  Changed paths:
    M Source/WebCore/css/CSSProperties.json
    M Source/WebCore/css/process-css-properties.py
    M Tools/Scripts/webkitpy/style/checkers/jsonchecker.py

  Log Message:
  -----------
  Remove non-BNF parser grammar support from CSSProperties.json
https://bugs.webkit.org/show_bug.cgi?id=249754
rdar://103617021

Reviewed by Antti Koivisto.

Now that we have the BNF parser in process-css-properties.py, we no
longer need to support the adhoc JSON structure based grammars. There
was one remaining use of it specify an aliased keyword, which was
switched to marking the need for the aliasing on the outer shared
rule instead.

* Source/WebCore/css/CSSProperties.json:
* Source/WebCore/css/process-css-properties.py:
* Tools/Scripts/webkitpy/style/checkers/jsonchecker.py:

Canonical link: https://commits.webkit.org/258344@main




More information about the webkit-changes mailing list