Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 295e760d8f3f9d0abaca15ce44c492fdaad767ba
      
https://github.com/WebKit/WebKit/commit/295e760d8f3f9d0abaca15ce44c492fdaad767ba
  Author: Alan Baradlay <za...@apple.com>
  Date:   2025-08-05 (Tue, 05 Aug 2025)

  Changed paths:
    M LayoutTests/TestExpectations
    M Source/WebCore/rendering/PositionedLayoutConstraints.cpp

  Log Message:
  -----------
  [writing-mode] PositionedLayoutConstraints::computeInlineStaticDistance 
mostly fails with nested content
https://bugs.webkit.org/show_bug.cgi?id=296669

Reviewed by Antti Koivisto.

This patch replaces computeInlineStaticDistance implementation with a simple 
call to staticDistance() and some RenderGrid specific logic.
It fixes statically positioned out-of-flow boxes across writing roots in nested 
context (see css/css-writing-modes/abs-pos-border-offset-002.html).

* LayoutTests/TestExpectations: 
grid-abspos-staticpos-align-self-vertWM-last-baseline-004.html: This test case 
was only passing accidentally.
* Source/WebCore/rendering/PositionedLayoutConstraints.cpp:
(WebCore::PositionedLayoutConstraints::computeInlineStaticDistance):
(WebCore::shouldInlineStaticDistanceAdjustedWithBoxHeight):
(WebCore::PositionedLayoutConstraints::fixupLogicalLeftPosition const):

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



To unsubscribe from these emails, change your notification settings at 
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
webkit-changes@lists.webkit.org
https://lists.webkit.org/mailman/listinfo/webkit-changes

Reply via email to