[webkit-changes] [WebKit/WebKit] bfb893: Properly validate CSSMathValue unit for coords pas...

Chris Dumez noreply at github.com
Mon Nov 28 23:55:04 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: bfb893e2a4d4063809d0f9dc6075bb84833d68f6
      https://github.com/WebKit/WebKit/commit/bfb893e2a4d4063809d0f9dc6075bb84833d68f6
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-11-28 (Mon, 28 Nov 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssScale.tentative-expected.txt
    M Source/WebCore/css/typedom/numeric/CSSMathValue.h
    M Source/WebCore/css/typedom/transform/CSSScale.cpp

  Log Message:
  -----------
  Properly validate CSSMathValue unit for coords passed to CSSScale constructor
https://bugs.webkit.org/show_bug.cgi?id=248408

Reviewed by Antoine Quint.

Properly validate CSSMathValue unit for coords passed to CSSScale constructor:
- https://drafts.css-houdini.org/css-typed-om/#dom-cssscale-cssscale

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/stylevalue-subclasses/cssScale.tentative-expected.txt:
* Source/WebCore/css/typedom/numeric/CSSMathValue.h:
(isType):
* Source/WebCore/css/typedom/transform/CSSScale.cpp:
(WebCore::isValidScaleCoord):
(WebCore::CSSScale::create):

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




More information about the webkit-changes mailing list