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

  Changed paths:
    M Source/WebCore/rendering/RenderBlockFlow.cpp

  Log Message:
  -----------
  Remove dead no-op fragment-offset shift in 
RenderBlockFlow::setStaticInlinePositionForChild
https://bugs.webkit.org/show_bug.cgi?id=319552
rdar://182381359

Reviewed by Alan Baradlay.

setStaticInlinePositionForChild adjusted the inline position with
`startOffsetForContent() - startOffsetForContent()`, which is
unconditionally 0. This originated from a fragment-aware overload
(startOffsetForContent(blockOffset)) that was deleted in 288342@main
once content offsets were established to be fragment-independent;
the collapse left both terms identical and the enclosing
fragmented-flow branch as pure dead code.

Remove the no-op branch. No behavior change.

* Source/WebCore/rendering/RenderBlockFlow.cpp:
(WebCore::RenderBlockFlow::setStaticInlinePositionForChild):

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



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

Reply via email to