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


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

Reply via email to