Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1ee2eb04dac099e339e9f4550dc178b584d0846c
https://github.com/WebKit/WebKit/commit/1ee2eb04dac099e339e9f4550dc178b584d0846c
Author: Alan Baradlay <[email protected]>
Date: 2026-09-14 (Mon, 14 Sep 2026)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-inset-inline-containing-block-vertical-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-inset-inline-containing-block-vertical.html
M Source/WebCore/style/StyleExtractorCustom.h
Log Message:
-----------
[out-of-flow] Resolved right and bottom are wrong inside a vertical inline
containing block
https://bugs.webkit.org/show_bug.cgi?id=324063
<rdar://problem/187295559>
Reviewed by Antti Koivisto.
The resolved value of an auto right or bottom subtracts offsetLeft, offsetWidth
and marginRight, all physical, from the containing block's padding box, so it
needs that box's physical width or height.
RenderInline::innerPaddingBoxWidth and innerPaddingBoxHeight are logical, which
matches only in a horizontal writing mode; in vertical-rl a span 20px wide and
40px tall reported right as 40px instead of 20px.
Test:
imported/w3c/web-platform-tests/css/cssom/getComputedStyle-inset-inline-containing-block-vertical.html
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-inset-inline-containing-block-vertical-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/cssom/getComputedStyle-inset-inline-containing-block-vertical.html:
Added.
* Source/WebCore/style/StyleExtractorCustom.h:
(WebCore::Style::InsetEdgeSharedAdaptor::computedValue const):
Canonical link: https://commits.webkit.org/321061@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications