[webkit-changes] [WebKit/WebKit] c08063: Make sure computed values for 'baseline-shift' CSS...

Chris Dumez noreply at github.com
Thu Dec 15 09:21:58 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: c08063e923437d16d256cb71e2ce10faf33e04d6
      https://github.com/WebKit/WebKit/commit/c08063e923437d16d256cb71e2ce10faf33e04d6
  Author: Chris Dumez <cdumez at apple.com>
  Date:   2022-12-15 (Thu, 15 Dec 2022)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/baseline-shift-expected.txt
    M Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp

  Log Message:
  -----------
  Make sure computed values for 'baseline-shift' CSS property have 'px' unit for lengths
https://bugs.webkit.org/show_bug.cgi?id=249318

Reviewed by Simon Fraser.

Make sure computed values for 'baseline-shift' CSS property have 'px' unit for lengths.
This is similar to what we do for other types of CSS properties. However, this SVG CSS
property would previously only compute to 'px' when applied to a SVGElement.

* LayoutTests/imported/w3c/web-platform-tests/css/css-typed-om/the-stylepropertymap/properties/baseline-shift-expected.txt:
* Source/WebCore/css/SVGCSSComputedStyleDeclaration.cpp:
(WebCore::ComputedStyleExtractor::svgPropertyValue):

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




More information about the webkit-changes mailing list