[webkit-changes] [WebKit/WebKit] 200b6e: [web-animations] remove animationShorthandForParsi...

Antoine Quint noreply at github.com
Thu Nov 30 05:37:50 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 200b6e4332ed38369c450b6c287405b432488286
      https://github.com/WebKit/WebKit/commit/200b6e4332ed38369c450b6c287405b432488286
  Author: Antoine Quint <graouts at webkit.org>
  Date:   2023-11-30 (Thu, 30 Nov 2023)

  Changed paths:
    M Source/WebCore/css/StylePropertyShorthand.cpp
    M Source/WebCore/css/StylePropertyShorthand.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp

  Log Message:
  -----------
  [web-animations] remove animationShorthandForParsing()
https://bugs.webkit.org/show_bug.cgi?id=265571
rdar://118977751

Reviewed by Antti Koivisto.

There is a dedicated function called `animationShorthandForParsing()` to get the `animation` shorthand
list of longhands specifically for parsing purposes, but that list matches the similar function generated
from `CSSProperties.json` exactly, and so is redundant and should be removed.

* Source/WebCore/css/StylePropertyShorthand.cpp:
(WebCore::animationShorthandForParsing): Deleted.
* Source/WebCore/css/StylePropertyShorthand.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseShorthand):

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




More information about the webkit-changes mailing list