[webkit-changes] [WebKit/WebKit] 9dcd18: Stop adjusting position to absolute for root eleme...
Tim Nguyen
noreply at github.com
Thu Dec 15 11:26:35 PST 2022
Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 9dcd18cf6f84a66fe763ab00f04fd0571f98ec6e
https://github.com/WebKit/WebKit/commit/9dcd18cf6f84a66fe763ab00f04fd0571f98ec6e
Author: Tim Nguyen <ntim at apple.com>
Date: 2022-12-15 (Thu, 15 Dec 2022)
Changed paths:
A LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page-expected.html
A LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page-ref.html
A LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page.html
M Source/WebCore/style/StyleAdjuster.cpp
Log Message:
-----------
Stop adjusting position to absolute for root element in fullscreen
https://bugs.webkit.org/show_bug.cgi?id=249404
rdar://103313030
Reviewed by Alan Baradlay.
Other browsers do not adjust the position to absolute for the root element (tested by applying inset properties).
The adjustment in WebKit causes the root to collapse, which is an unwanted side-effect.
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page-expected.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page-ref.html: Added.
* LayoutTests/imported/w3c/web-platform-tests/fullscreen/rendering/fullscreen-root-fills-page.html: Added.
* Source/WebCore/style/StyleAdjuster.cpp:
(WebCore::Style::Adjuster::adjust const):
Canonical link: https://commits.webkit.org/257946@main
More information about the webkit-changes
mailing list