Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 670b2ce93bf48ef33b0f7be0675fd203d3313b40
      
https://github.com/WebKit/WebKit/commit/670b2ce93bf48ef33b0f7be0675fd203d3313b40
  Author: Alan Baradlay <za...@apple.com>
  Date:   2025-08-13 (Wed, 13 Aug 2025)

  Changed paths:
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-002-expected.txt
    M 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-003-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-004-no-padding-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-004-no-padding.html
    M 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-002-expected.txt
    M Source/WebCore/rendering/RenderFlexibleBox.cpp
    M Source/WebCore/rendering/RenderFlexibleBox.h

  Log Message:
  -----------
  [writing-mode] Flex container should account for leading scrollbar size when 
placing flex items
https://bugs.webkit.org/show_bug.cgi?id=297303

Reviewed by Antti Koivisto.

This change ensures that when the scrollbar is "before" the flex item (e.g. 
vertical-lr/rtl -text starts at the bottom where the horizontal scrollbar is)
the flex items is placed _after_ the scrollbar.
This is also in preparation for fixing 
css/css-flexbox/negative-overflow-003.html.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-002-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-003-expected.txt:
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-004-no-padding-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-004-no-padding.html:
 Added.
* 
LayoutTests/platform/ios/imported/w3c/web-platform-tests/css/css-flexbox/negative-overflow-002-expected.txt:
* Source/WebCore/rendering/RenderFlexibleBox.cpp:
(WebCore::RenderFlexibleBox::mainAxisScrollbarExtent const):
(WebCore::RenderFlexibleBox::layoutAndPlaceFlexItems):
* Source/WebCore/rendering/RenderFlexibleBox.h:

Canonical link: https://commits.webkit.org/298625@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