[webkit-changes] [WebKit/WebKit] 00b96b: [CSS Fonts] getComputedStyle() should return a res...

ChangSeok Oh noreply at github.com
Mon Oct 9 11:32:09 PDT 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00b96b0c358272590abe1075865af8e706b213c1
      https://github.com/WebKit/WebKit/commit/00b96b0c358272590abe1075865af8e706b213c1
  Author: ChangSeok Oh <changseok at webkit.org>
  Date:   2023-10-09 (Mon, 09 Oct 2023)

  Changed paths:
    M LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-size-adjust-computed-expected.txt
    M Source/WebCore/css/ComputedStyleExtractor.cpp

  Log Message:
  -----------
  [CSS Fonts] getComputedStyle() should return a resolved value for font-size-adjust:from-font
https://bugs.webkit.org/show_bug.cgi?id=262147

Reviewed by Tim Nguyen.

We returned the from-font identifier for font-size-adjust as a computed style
value. But it was an incorrect behavior. This change makes getComputedStyle()
return an actual numeric value of the from-font for font-size-adjust instead.

Test: imported/w3c/web-platform-tests/css/css-fonts/parsing/font-size-adjust-computed.html

* LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-size-adjust-computed-expected.txt:
* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::fontSizeAdjustFromStyle):

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




More information about the webkit-changes mailing list