Branch: refs/heads/main
  Home:   https://github.com/WebKit/WebKit
  Commit: 00f2675ea704e8fe868d2d6b9de581bdca82d709
      
https://github.com/WebKit/WebKit/commit/00f2675ea704e8fe868d2d6b9de581bdca82d709
  Author: Alan Baradlay <[email protected]>
  Date:   2026-08-26 (Wed, 26 Aug 2026)

  Changed paths:
    M 
LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-relative-positioned-block-in-inline-002-expected.txt
    A 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-relative-positioned-block-in-inline-002.html
    M LayoutTests/platform/glib/fast/encoding/utf-16-big-endian-expected.txt
    M LayoutTests/platform/glib/fast/encoding/utf-16-little-endian-expected.txt
    M 
LayoutTests/platform/glib/fast/repaint/transform-absolute-in-positioned-container-expected.txt
    M LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt
    M LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt
    M 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp

  Log Message:
  -----------
  [block-in-inline] A relatively positioned block level box on a line reports 
scrollable overflow as wide as the line
https://bugs.webkit.org/show_bug.cgi?id=322539
<rdar://problem/185835450>

Reviewed by Antti Koivisto.

A block level box gets a line of its own, and that line box is as wide as the 
container's content box.
Ink overflow already leaves that rect out and lets the box contribute its own, 
since the box is what the line
holds. Let's apply it to scrollable overflow too.

* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-relative-positioned-block-in-inline-002-expected.txt:
 Added.
* 
LayoutTests/imported/w3c/web-platform-tests/css/css-overflow/scrollable-overflow-relative-positioned-block-in-inline-002.html:
 Added.
* 
Source/WebCore/layout/integration/inline/LayoutIntegrationInlineContentBuilder.cpp:
(WebCore::LayoutIntegration::InlineContentBuilder::adjustDisplayLines const):
* 
LayoutTests/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
* LayoutTests/platform/glib/fast/encoding/utf-16-big-endian-expected.txt:
* LayoutTests/platform/glib/fast/encoding/utf-16-little-endian-expected.txt:
* 
LayoutTests/platform/glib/fast/repaint/transform-absolute-in-positioned-container-expected.txt:
* LayoutTests/platform/mac/fast/encoding/utf-16-big-endian-expected.txt:
* LayoutTests/platform/mac/fast/encoding/utf-16-little-endian-expected.txt:

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



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

Reply via email to