Changeset 272992 in webkit
- Timestamp:
- Feb 17, 2021 2:37:55 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r272983 r272992 1 2021-02-17 Rob Buis <rbuis@igalia.com> 2 3 Improve percentage height in shouldComputeLogicalWidthFromAspectRatio 4 https://bugs.webkit.org/show_bug.cgi?id=221405 5 6 Reviewed by Simon Fraser. 7 8 Enable some tests that pass now. 9 10 * TestExpectations: 11 1 12 2021-02-16 Manuel Rego Casasnovas <rego@igalia.com> 2 13 -
trunk/LayoutTests/TestExpectations
r272927 r272992 4560 4560 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/block-aspect-ratio-024.html [ ImageOnlyFailure ] 4561 4561 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/block-aspect-ratio-028.html [ ImageOnlyFailure ] 4562 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/block-aspect-ratio-030.html [ ImageOnlyFailure ]4563 4562 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/flex-aspect-ratio-001.html [ ImageOnlyFailure ] 4564 4563 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/flex-aspect-ratio-002.html [ ImageOnlyFailure ] … … 4584 4583 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/intrinsic-size-005.html [ ImageOnlyFailure ] 4585 4584 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/intrinsic-size-006.html [ ImageOnlyFailure ] 4586 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/intrinsic-size-007.html [ ImageOnlyFailure ]4587 4585 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/intrinsic-size-008.html [ ImageOnlyFailure ] 4588 4586 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/intrinsic-size-010.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r272987 r272992 1 2021-02-17 Rob Buis <rbuis@igalia.com> 2 3 Improve percentage height in shouldComputeLogicalWidthFromAspectRatio 4 https://bugs.webkit.org/show_bug.cgi?id=221405 5 6 Reviewed by Simon Fraser. 7 8 When checking whether the percentage logical height can be used to 9 calculate the logical width, we need to also check that it is resolvable. 10 11 * rendering/RenderBox.cpp: 12 (WebCore::RenderBox::shouldComputeLogicalWidthFromAspectRatio const): 13 1 14 2021-02-16 Sam Weinig <weinig@apple.com> 2 15 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r272805 r272992 5101 5101 return false; 5102 5102 5103 if (!shouldComputeLogicalWidthFromAspectRatioAndInsets() && !style().logicalHeight().isFixed() && !style().logicalHeight().isPercentOrCalculated()) 5103 auto isResolvablePercentageHeight = [this] () { 5104 return style().logicalHeight().isPercentOrCalculated() && (isOutOfFlowPositioned() || percentageLogicalHeightIsResolvable()); 5105 }; 5106 if (!shouldComputeLogicalWidthFromAspectRatioAndInsets() && !style().logicalHeight().isFixed() && !isResolvablePercentageHeight()) 5104 5107 return false; 5105 5108
Note: See TracChangeset
for help on using the changeset viewer.