[webkit-changes] [WebKit/WebKit] 02ba20: CSSPerspective.toMatrix() should throw if its leng...

Chris Dumez noreply at github.com
Sat Oct 22 10:28:33 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02ba20dc48a2ce34a4429aa705e444497298c723
      https://github.com/WebKit/WebKit/commit/02ba20dc48a2ce34a4429aa705e444497298c723
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-10-22 (Sat, 22 Oct 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix-relative-units-expected.txt
    M Source/WebCore/css/typedom/transform/CSSPerspective.cpp

  Log Message:
  -----------
  CSSPerspective.toMatrix() should throw if its length is not compatible with 'px' unit
https://bugs.webkit.org/show_bug.cgi?id=246891

Reviewed by Antoine Quint.

CSSPerspective.toMatrix() should throw a TypeError if its length is not compatible with 'px' unit:
- https://drafts.css-houdini.org/css-typed-om-1/#dom-csstransformcomponent-tomatrix

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssTransformComponent-toMatrix-relative-units-expected.txt:
* Source/WebCore/css/typedom/transform/CSSPerspective.cpp:
(WebCore::CSSPerspective::toMatrix):

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




More information about the webkit-changes mailing list