Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: a754f38639293cb43493891f37d249b508362c7c
https://github.com/WebKit/WebKit/commit/a754f38639293cb43493891f37d249b508362c7c
Author: Taher Ali <[email protected]>
Date: 2025-10-24 (Fri, 24 Oct 2025)
Changed paths:
M LayoutTests/TestExpectations
M
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/floats/crashtests/float-rewind-parallel-flow-3-crash.html
M
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/svg-computed-style-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/svg-computed-style.html
M Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp
M Source/WebCore/page/ios/ContentChangeObserver.cpp
M Source/WebCore/rendering/PositionedLayoutConstraints.h
M Source/WebCore/rendering/RenderBoxModelObject.cpp
M Source/WebCore/style/StyleExtractorCustom.h
M Source/WebCore/style/values/position/StyleInset.h
M Source/WebCore/style/values/primitives/StyleLengthResolution.cpp
Log Message:
-----------
[CSS Zoom] Apply zoom factor to InsetEdge
https://bugs.webkit.org/show_bug.cgi?id=300777
rdar://162663056
Reviewed by Antti Koivisto.
Apply evaluation-time zoom for InsetEdge properties (top/left/right/bottom).
Additionally, we compensate for page zoom during CSS to Style conversion
on all viewport units.
* LayoutTests/TestExpectations:
*
LayoutTests/imported/w3c/web-platform-tests/css/CSS2/floats/crashtests/float-rewind-parallel-flow-3-crash.html:
We hit a debug assert in RenderLayerCompositor::fixedLayerIntersectsViewport()
where the combination of column-count, 3D transforms (especially 90/270
rotations),
and non-unit zoom values is causing non-determinism.
https://bugs.webkit.org/show_bug.cgi?id=301363
*
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/svg-computed-style-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-viewport/zoom/svg-computed-style.html:
* Source/WebCore/layout/formattingContexts/FormattingGeometry.cpp:
(WebCore::Layout::FormattingGeometry::outOfFlowNonReplacedVerticalGeometry
const):
(WebCore::Layout::FormattingGeometry::outOfFlowNonReplacedHorizontalGeometry
const):
(WebCore::Layout::FormattingGeometry::outOfFlowReplacedVerticalGeometry const):
(WebCore::Layout::FormattingGeometry::outOfFlowReplacedHorizontalGeometry
const):
(WebCore::Layout::FormattingGeometry::inFlowPositionedPositionOffset const):
* Source/WebCore/layout/formattingContexts/FormattingGeometry.h:
* Source/WebCore/page/ios/ContentChangeObserver.cpp:
(WebCore::ContentChangeObserver::isVisuallyHidden):
* Source/WebCore/rendering/PositionedLayoutConstraints.h:
(WebCore::PositionedLayoutConstraints::insetBeforeValue const):
(WebCore::PositionedLayoutConstraints::insetAfterValue const):
* Source/WebCore/rendering/RenderBoxModelObject.cpp:
(WebCore::RenderBoxModelObject::relativePositionOffset const):
(WebCore::RenderBoxModelObject::computeStickyPositionConstraints const):
* Source/WebCore/style/StyleExtractorCustom.h:
(WebCore::Style::InsetEdgeSharedAdaptor::computedValue const):
* Source/WebCore/style/values/position/StyleInset.h:
* Source/WebCore/style/values/primitives/StyleLengthResolution.cpp:
(WebCore::Style::adjustValueForPageZoom):
(WebCore::Style::computeNonCalcLengthDouble):
Canonical link: https://commits.webkit.org/302102@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications