Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 8a23cf8a33f522b1ddf4488bcefeff84918c7f26
      
https://github.com/WebKit/WebKit/commit/8a23cf8a33f522b1ddf4488bcefeff84918c7f26
  Author: Alan Baradlay <[email protected]>
  Date:   2026-07-18 (Sat, 18 Jul 2026)

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

  Log Message:
  -----------
  [cleanup] Report flex line boundaries to the inspector next to 
computeFlexLines
https://bugs.webkit.org/show_bug.cgi?id=318686

Reviewed by Antti Koivisto.

FlexLayout reported each flex line's start-item index to the inspector overlay
(flexibleBoxRendererWrappedToNextLine) from inside the cross-axis position 
loop, even though the line
boundaries are a line-collection fact that has nothing to do with cross-axis 
positioning.

Report them right after computeFlexLines instead, in a small loop over 
flexLines.ranges. No change in
behavior: it still runs after flexibleBoxRendererBeganLayout (which resets the 
per-container list) and
appends each line's end index in line order, and the inspector reads the list 
on demand after layout.

* Source/WebCore/rendering/RenderFlexLayout.cpp:

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



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

Reply via email to