Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: b95d50c21bf59ad92719958f60c0cf7d29d472bd
https://github.com/WebKit/WebKit/commit/b95d50c21bf59ad92719958f60c0cf7d29d472bd
Author: Alexsander Damaceno <[email protected]>
Date: 2025-03-21 (Fri, 21 Mar 2025)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/block-in-inline-client-rects-001-expected.txt
A
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/block-in-inline-client-rects-001.html
M Source/WebCore/rendering/RenderBoxModelObject.cpp
Log Message:
-----------
`getBoundingClientRect()` should ignore nested element when height is zero
https://bugs.webkit.org/show_bug.cgi?id=267622
Reviewed by Alan Baradlay.
`getBoundingClientRect()` was returning incorrect layout information when an
element had its height set to zero.
it was including the non-zero value of the other dimension,
which resulted in an inaccurate bounding rectangle.
*
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/block-in-inline-client-rects-001-expected.txt:
Added.
*
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/block-in-inline-client-rects-001.html:
Added.
* Source/WebCore/rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::collectAbsoluteQuadsForContinuation const):
Canonical link: https://commits.webkit.org/292521@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications
_______________________________________________
webkit-changes mailing list
[email protected]
https://lists.webkit.org/mailman/listinfo/webkit-changes