Branch: refs/heads/webkitglib/2.52
Home: https://github.com/WebKit/WebKit
Commit: 9463e2ccb911e27de7939a7e56b2d5abd9d4c055
https://github.com/WebKit/WebKit/commit/9463e2ccb911e27de7939a7e56b2d5abd9d4c055
Author: Taher Ali <[email protected]>
Date: 2026-03-17 (Tue, 17 Mar 2026)
Changed paths:
M Source/WebCore/page/Quirks.cpp
M Source/WebCore/page/Quirks.h
M Source/WebCore/page/QuirksData.h
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
Cherry-pick 309203@main (8f86419c8e9e).
https://bugs.webkit.org/show_bug.cgi?id=309648
Add quirk to center floorplan image on zillow.com
rdar://171279940
Reviewed by Brent Fulgham.
The floorplan image on zillow.com listing pages is not horizontally
centered because the site uses justify-self: center on a block-level
element, which is not yet implemented (rdar://172303198).
Add margin-left/right: auto to the <img> inside #floorplan_panel as
a workaround.
* Source/WebCore/page/Quirks.cpp:
(WebCore::Quirks::needsZillowFloorplanMarginQuirk const):
(WebCore::handleZillowQuirks):
* Source/WebCore/page/Quirks.h:
* Source/WebCore/page/QuirksData.h:
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjustForSiteSpecificQuirks const):
Canonical link: https://commits.webkit.org/309203@main
Canonical link: https://commits.webkit.org/305877.224@webkitglib/2.52
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications