Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Implement scrollbar-gutter both-edges support on non-viewports #14666

Merged

Commits on Jun 15, 2023

  1. Implement scrollbar-gutter both-edges support on non-viewports

    https://bugs.webkit.org/show_bug.cgi?id=257708
    
    Reviewed by Simon Fraser.
    
    Scrollbar gutter now correctly works (on non-viewports) for both the
    "stable" and "stable both-edges" values.
    
    * LayoutTests/TestExpectations:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-rtl-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-lr-001-expected.txt:
    * LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollbar-gutter-vertical-rl-001-expected.txt:
    * Source/WebCore/rendering/RenderBlockFlow.cpp:
    (WebCore::RenderBlockFlow::determineLogicalLeftPositionForChild):
    * Source/WebCore/rendering/RenderBox.cpp:
    (WebCore::RenderBox::contentBoxLocation const):
    * Source/WebCore/rendering/RenderBoxInlines.h:
    (WebCore::RenderBox::computedCSSContentBoxRect const):
    (WebCore::RenderBox::contentHeight const):
    (WebCore::RenderBox::contentWidth const):
    (WebCore::RenderBox::overridingContentLogicalHeight const):
    (WebCore::RenderBox::overridingContentLogicalWidth const):
    * Source/WebCore/rendering/style/RenderStyle.h:
    
    Canonical link: https://commits.webkit.org/265199@main
    lukewarlow authored and Ahmad Saleem committed Jun 15, 2023
    Configuration menu
    Copy the full SHA
    9a055c1 View commit details
    Browse the repository at this point in the history