[webkit-changes] [WebKit/WebKit] 0d75a8: computed style for font-variation-settings should ...

Darin Adler noreply at github.com
Sun Nov 6 17:09:20 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 0d75a86aa9945e0c4af7c2466fa5cf4d24013999
      https://github.com/WebKit/WebKit/commit/0d75a86aa9945e0c4af7c2466fa5cf4d24013999
  Author: Darin Adler <darin at apple.com>
  Date:   2022-11-06 (Sun, 06 Nov 2022)

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

  Log Message:
  -----------
  computed style for font-variation-settings should only serialize the last setting for duplicate tags
https://bugs.webkit.org/show_bug.cgi?id=247553
rdar://102018065

Reviewed by Sam Weinig.

* LayoutTests/imported/w3c/web-platform-tests/css/css-fonts/parsing/font-variation-settings-computed-expected.txt:
Expect more PASS.

* Source/WebCore/css/ComputedStyleExtractor.cpp:
(WebCore::ComputedStyleExtractor::valueForPropertyInStyle): Used a HashCountedSet to serialize only
the last setting for each tag.

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




More information about the webkit-changes mailing list