[webkit-changes] [WebKit/WebKit] f5eb32: Separate single TransformOperation resolution from...

Antti Koivisto noreply at github.com
Fri Dec 16 23:00:11 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: f5eb326e26ffc147b9421cbb3db9ce1d21750d8e
      https://github.com/WebKit/WebKit/commit/f5eb326e26ffc147b9421cbb3db9ce1d21750d8e
  Author: Antti Koivisto <antti at apple.com>
  Date:   2022-12-16 (Fri, 16 Dec 2022)

  Changed paths:
    M Source/WebCore/css/DOMMatrixReadOnly.cpp
    M Source/WebCore/css/TransformFunctions.cpp
    M Source/WebCore/css/TransformFunctions.h
    M Source/WebCore/css/parser/CSSPropertyParser.cpp
    M Source/WebCore/style/StyleBuilderConverter.h

  Log Message:
  -----------
  Separate single TransformOperation resolution from transformsForValue
https://bugs.webkit.org/show_bug.cgi?id=249471
<rdar://problem/103445247>

Reviewed by Antoine Quint.

* Source/WebCore/css/DOMMatrixReadOnly.cpp:
(WebCore::DOMMatrixReadOnly::parseStringIntoAbstractMatrix):
* Source/WebCore/css/TransformFunctions.cpp:
(WebCore::transformsForValue):

Fix the FIXME by returning optional<>.

(WebCore::transformForValue):

Factor the code out from the loop.

* Source/WebCore/css/TransformFunctions.h:
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::parseTypedCustomPropertyValue):
* Source/WebCore/style/StyleBuilderConverter.h:
(WebCore::Style::BuilderConverter::convertTransform):

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




More information about the webkit-changes mailing list