Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8f86419c8e9e2eaad92bed2bca6e0d9b925f261e
      
https://github.com/WebKit/WebKit/commit/8f86419c8e9e2eaad92bed2bca6e0d9b925f261e
  Author: Taher Ali <[email protected]>
  Date:   2026-03-13 (Fri, 13 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:
  -----------
  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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications

Reply via email to