Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 02f0132355840d713d3465a2b963b2a126018ee3
      
https://github.com/WebKit/WebKit/commit/02f0132355840d713d3465a2b963b2a126018ee3
  Author: Karl Dubost <karl...@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


_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to