[webkit-changes] [WebKit/WebKit] 5158c3: REGRESSION (270277 at main): [iOS] imported/w3c/web-p...
Aditya Keerthi
noreply at github.com
Tue Nov 7 08:33:43 PST 2023
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 5158c32444fd418c40323af93ba591b190a93980
https://github.com/WebKit/WebKit/commit/5158c32444fd418c40323af93ba591b190a93980
Author: Aditya Keerthi <akeerthi at apple.com>
Date: 2023-11-07 (Tue, 07 Nov 2023)
Changed paths:
M Source/WebCore/rendering/RenderTextControl.cpp
Log Message:
-----------
REGRESSION (270277 at main): [iOS] imported/w3c/web-platform-tests/css/css-writing-modes/forms/text-input-block-size.optional.html is a constant failure
https://bugs.webkit.org/show_bug.cgi?id=264315
rdar://118035123
Reviewed by Megan Gardner.
imported/w3c/web-platform-tests/css/css-writing-modes/forms/text-input-block-size.optional.html
tests that the block-size of inputs are equal in vertical and horizontal
writing modes.
270277 at main modified the user agent stylesheet to use logical properties to
better support vertical form controls. However,
`RenderTextControl::computeLogicalHeight` is still incorrectly using physical
values for padding, border, and margin. The mix of logical height with physical
padding/border/margin results in an inconsistent block-size depending on the
writing mode.
Fix by using logical properties in `RenderTextControl::computeLogicalHeight`.
* Source/WebCore/rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::computeLogicalHeight const):
Canonical link: https://commits.webkit.org/270322@main
More information about the webkit-changes
mailing list