[webkit-changes] [WebKit/WebKit] 022982: Remove platform conditionals from MediaQueryFeatures

Anne van Kesteren noreply at github.com
Thu Nov 16 10:13:59 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 022982e1819a55646bdf50caa84dabb2181b1e3d
      https://github.com/WebKit/WebKit/commit/022982e1819a55646bdf50caa84dabb2181b1e3d
  Author: Anne van Kesteren <annevk at annevk.nl>
  Date:   2023-11-16 (Thu, 16 Nov 2023)

  Changed paths:
    M Source/WebCore/css/query/MediaQueryFeatures.cpp

  Log Message:
  -----------
  Remove platform conditionals from MediaQueryFeatures
https://bugs.webkit.org/show_bug.cgi?id=264870

Reviewed by Darin Adler.

Theme is included by all platforms and already defaults to false for
these methods if they are not implemented for a particular platform.

* Source/WebCore/css/query/MediaQueryFeatures.cpp:
(WebCore::MQ::Features::prefersContrast):
(WebCore::MQ::Features::prefersReducedMotion):

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




More information about the webkit-changes mailing list