Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 040e525dd9bdf8d0ce85934483f948b48e0cabf5
      
https://github.com/WebKit/WebKit/commit/040e525dd9bdf8d0ce85934483f948b48e0cabf5
  Author: Ahmad Saleem <[email protected]>
  Date:   2026-07-16 (Thu, 16 Jul 2026)

  Changed paths:
    M Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp

  Log Message:
  -----------
  Dead if in fieldset baseline computation after subpixel-inline-layout cleanup
https://bugs.webkit.org/show_bug.cgi?id=319550
rdar://182380648

Reviewed by Alan Baradlay.

In setIntegrationBaseline(), the fieldset branch guarded a return on
isWritingModeRoot || shouldApplyLayoutContainment(), returning the raw
marginBoxLogicalHeight in that case and an integer-snapped value
otherwise. When the subpixelInlineLayoutEnabled setting was removed
(now that subpixel inline layout is always enabled), the snapToInt()
call was replaced by plain marginBoxLogicalHeight, leaving both arms of
the if identical and the guard dead.

Collapse the branch to a single return. No behavior change; the raw
subpixel value is now always the intended result.

* Source/WebCore/layout/integration/LayoutIntegrationBoxGeometryUpdater.cpp:
(WebCore::LayoutIntegration::setIntegrationBaseline):

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



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

Reply via email to