Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 34374f3a123438b30056008d0ba09009a29e1dda
https://github.com/WebKit/WebKit/commit/34374f3a123438b30056008d0ba09009a29e1dda
Author: Ahmad Saleem <[email protected]>
Date: 2025-12-15 (Mon, 15 Dec 2025)
Changed paths:
A
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt
R
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt
R
LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt
R
LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt
M Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp
Log Message:
-----------
[MathML] Support CSS size containment with contain-intrinsic-size properties
https://bugs.webkit.org/show_bug.cgi?id=304018
rdar://166323213
Reviewed by Alan Baradlay.
Implement support for CSS Containment's size containment in MathML
elements. When contain: size or contain: inline-size is specified along
with contain-intrinsic-inline-size or contain-intrinsic-block-size, use
these explicit intrinsic sizes instead of computing from content.
This enables MathML elements to participate in size containment
optimizations, matching the behavior of other CSS layout models.
Specification:
https://drafts.csswg.org/css-contain-2/#propdef-contain-intrinsic-size
https://drafts.csswg.org/css-contain-2/#containment-size
* Source/WebCore/rendering/mathml/RenderMathMLBlock.cpp:
(WebCore::RenderMathMLBlock::sizeAppliedToMathContent):
*
LayoutTests/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt:
Progression
> Remove Platform Specific Expectations:
*
LayoutTests/platform/glib/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt:
Removed.
*
LayoutTests/platform/ios/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt:
Removed.
*
LayoutTests/platform/mac/imported/w3c/web-platform-tests/mathml/relations/css-styling/size-containment-001.tentative-expected.txt:
Removed.
Canonical link: https://commits.webkit.org/304458@main
To unsubscribe from these emails, change your notification settings at
https://github.com/WebKit/WebKit/settings/notifications