[webkit-changes] [WebKit/WebKit] 02f013: Remove Quirks shouldDisableResolutionMediaQuery()

Karl Dubost noreply at github.com
Tue Nov 15 15:21:53 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02f0132355840d713d3465a2b963b2a126018ee3
      https://github.com/WebKit/WebKit/commit/02f0132355840d713d3465a2b963b2a126018ee3
  Author: Karl Dubost <karlcow at apple.com>
  Date:   2022-11-15 (Tue, 15 Nov 2022)

  Changed paths:
    M Source/WebCore/css/LegacyMediaQueryEvaluator.cpp
    M Source/WebCore/page/Quirks.cpp
    M Source/WebCore/page/Quirks.h

  Log Message:
  -----------
  Remove Quirks shouldDisableResolutionMediaQuery()
https://bugs.webkit.org/show_bug.cgi?id=247940
rdar://102355671

Reviewed by Tim Nguyen.

This PR removes the quirks which previously disabled the
resolution media feature on Expedia Group sites. When
disabling Site Specific Hacks, the site behaves correctly.
They probably have changed their widget. The patch was tested
for different window widths, and the issue didn't reproduce.

* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::shouldDisableResolutionMediaQuery const): Deleted.
* Source/WebCore/css/LegacyMediaQueryEvaluator.cpp:
(WebCore::resolutionEvaluate):
* Source/WebCore/page/Quirks.h:

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




More information about the webkit-changes mailing list