Changeset 272363 in webkit
- Timestamp:
- Feb 4, 2021 1:11:28 AM (3 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r272361 r272363 1 2021-02-04 Rob Buis <rbuis@igalia.com> 2 3 Make shouldComputeLogicalWidthFromAspectRatioAndInsets writing mode aware 4 https://bugs.webkit.org/show_bug.cgi?id=221328 5 6 Reviewed by Manuel Rego Casasnovas. 7 8 Enable some tests that pass now. 9 10 * TestExpectations: 11 1 12 2021-02-04 Miguel Gomez <magomez@igalia.com> 2 13 -
trunk/LayoutTests/TestExpectations
r272360 r272363 4409 4409 webkit.org/b/214462 imported/w3c/web-platform-tests/css/css-scoping/slotted-placeholder.html [ ImageOnlyFailure ] 4410 4410 4411 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/abspos-004.html [ ImageOnlyFailure ]4412 4411 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/abspos-012.html [ ImageOnlyFailure ] 4413 4412 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/abspos-013.html [ ImageOnlyFailure ] 4414 4413 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/abspos-014.html [ ImageOnlyFailure ] 4415 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/abspos-015.html [ ImageOnlyFailure ]4416 4414 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/block-aspect-ratio-004.html [ ImageOnlyFailure ] 4417 4415 webkit.org/b/214463 imported/w3c/web-platform-tests/css/css-sizing/aspect-ratio/block-aspect-ratio-006.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r272361 r272363 1 2021-02-04 Rob Buis <rbuis@igalia.com> 2 3 Make shouldComputeLogicalWidthFromAspectRatioAndInsets writing mode aware 4 https://bugs.webkit.org/show_bug.cgi?id=221328 5 6 Reviewed by Manuel Rego Casasnovas. 7 8 Commit r271061 added support for aspect-ratio on positioned elements, taking into account 9 insets, but it failed to take writing-mode into account when checking insets. This change fixes 10 that by asking logical values. 11 12 * rendering/RenderBox.cpp: 13 (WebCore::RenderBox::shouldComputeLogicalWidthFromAspectRatioAndInsets const): 14 1 15 2021-02-04 Miguel Gomez <magomez@igalia.com> 2 16 -
trunk/Source/WebCore/rendering/RenderBox.cpp
r272360 r272363 5101 5101 return false; 5102 5102 // FIXME: see if this can become a helper on RenderStyle. 5103 if (style().width().isAuto() && style().height().isAuto() && !style(). top().isAuto() && !style().bottom().isAuto() && (style().left().isAuto() || style().right().isAuto()))5103 if (style().width().isAuto() && style().height().isAuto() && !style().logicalTop().isAuto() && !style().logicalBottom().isAuto() && (style().logicalLeft().isAuto() || style().logicalRight().isAuto())) 5104 5104 return true; 5105 5105 return false;
Note: See TracChangeset
for help on using the changeset viewer.