[webkit-changes] [WebKit/WebKit] 42f956: [css-color-5] Enable light-dark() by default

Aditya Keerthi noreply at github.com
Sun Jan 28 16:33:13 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 42f9569ae95a1bbef0a26f460bdaa7efdb637fff
      https://github.com/WebKit/WebKit/commit/42f9569ae95a1bbef0a26f460bdaa7efdb637fff
  Author: Aditya Keerthi <akeerthi at apple.com>
  Date:   2024-01-28 (Sun, 28 Jan 2024)

  Changed paths:
    M Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml

  Log Message:
  -----------
  [css-color-5] Enable light-dark() by default
https://bugs.webkit.org/show_bug.cgi?id=262914
rdar://117033939

Reviewed by Wenson Hsieh.

Enable support for light-dark(<color>, <color>). This function computes to the
computed value of the first color, if the used color scheme is light or unknown,
or to the computed value of the second color, if the used color scheme is dark.

Spec: https://drafts.csswg.org/css-color-5/#light-dark

* Source/WTF/Scripts/Preferences/UnifiedWebPreferences.yaml:

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




More information about the webkit-changes mailing list