[webkit-changes] [WebKit/WebKit] 8c6d87: REGRESSION(267658 at main): `font-variant-emoji` valu...

Tim Nguyen noreply at github.com
Mon Jan 29 17:44:34 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8c6d87c471e4eabfbdb9f4a77d25adb0aad3fb35
      https://github.com/WebKit/WebKit/commit/8c6d87c471e4eabfbdb9f4a77d25adb0aad3fb35
  Author: Tim Nguyen <ntim at apple.com>
  Date:   2024-01-29 (Mon, 29 Jan 2024)

  Changed paths:
    A LayoutTests/fast/css/font-variant-emoji-disabled-expected.txt
    A LayoutTests/fast/css/font-variant-emoji-disabled.html
    M Source/WebCore/css/parser/CSSPropertyParser.cpp

  Log Message:
  -----------
  REGRESSION(267658 at main): `font-variant-emoji` values should not parse in `font-variant` shorthand when disabled
https://bugs.webkit.org/show_bug.cgi?id=268348
rdar://121890028

Reviewed by Matthieu Dubet.

`font-variant: emoji` or `font-variant: unicode` should not parse when `font-variant-emoji` is disabled.

* LayoutTests/fast/css/font-variant-emoji-disabled-expected.txt: Added.
* LayoutTests/fast/css/font-variant-emoji-disabled.html: Added.
* Source/WebCore/css/parser/CSSPropertyParser.cpp:
(WebCore::CSSPropertyParser::consumeFontVariantShorthand):

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




More information about the webkit-changes mailing list