Branch: refs/heads/main
Home: https://github.com/WebKit/WebKit
Commit: 1fd0de1fde37470718bf22e4816f5c1e2719aa5d
https://github.com/WebKit/WebKit/commit/1fd0de1fde37470718bf22e4816f5c1e2719aa5d
Author: Alan Baradlay <[email protected]>
Date: 2024-07-07 (Sun, 07 Jul 2024)
Changed paths:
M
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-compressible-001-expected.txt
M
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-compressible-002-expected.txt
M Source/WebCore/rendering/RenderFileUploadControl.cpp
M Source/WebCore/rendering/RenderListBox.cpp
M Source/WebCore/rendering/RenderMenuList.cpp
M Source/WebCore/rendering/RenderSlider.cpp
M Source/WebCore/rendering/RenderTextControl.cpp
Log Message:
-----------
Fix css/css-flexbox/flex-item-compressible-002.html (#11 and #12)
https://bugs.webkit.org/show_bug.cgi?id=276291
Reviewed by Antti Koivisto.
In 162878@main we went from isPercent() to isPercentOrCalculated() without
adding support
for the "calculated" part.
(FIXME: we should find a common place for this)
https://drafts.csswg.org/css-sizing-3/#replaced-percentage-min-contribution
"If the box is replaced, a cyclic percentage in the value of any max size
property or preferred size property (width/max-width/height/max-height), is
resolved against zero when calculating the min-content contribution in the
corresponding axis"
and
https://drafts.csswg.org/css-sizing-3/#min-content-zero
"In addition to the replaced elements listed in HTML 14.4 [HTML], the following
HTML elements are also considered to be replaced elements...select, textarea,
progress, meter..."
*
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-compressible-001-expected.txt:
*
LayoutTests/imported/w3c/web-platform-tests/css/css-flexbox/flex-item-compressible-002-expected.txt:
* Source/WebCore/rendering/RenderFileUploadControl.cpp:
(WebCore::RenderFileUploadControl::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderListBox.cpp:
(WebCore::RenderListBox::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderMenuList.cpp:
(RenderMenuList::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderSlider.cpp:
(WebCore::RenderSlider::computeIntrinsicLogicalWidths const):
* Source/WebCore/rendering/RenderTextControl.cpp:
(WebCore::RenderTextControl::computeIntrinsicLogicalWidths const):
Canonical link: https://commits.webkit.org/280722@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