Changeset 294754 in webkit
- Timestamp:
- May 24, 2022, 11:48:31 AM (4 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 4 deleted
- 2 edited
-
LayoutTests/TestExpectations (modified) (2 diffs)
-
LayoutTests/fast/block/float/float-avoider-with-shrinking-content-expected.html (deleted)
-
LayoutTests/fast/block/float/float-avoider-with-shrinking-content.html (deleted)
-
LayoutTests/fast/block/float/float-avoider-with-zero-width-expected.txt (deleted)
-
LayoutTests/fast/block/float/float-avoider-with-zero-width.html (deleted)
-
LayoutTests/fast/block/float/zero-size-float-avoider-incorrect-position-expected.html (added)
-
LayoutTests/fast/block/float/zero-size-float-avoider-incorrect-position.html (added)
-
Source/WebCore/rendering/RenderBlockFlow.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/TestExpectations
r294614 r294754 4639 4639 4640 4640 # CSS containment tests that fail 4641 imported/w3c/web-platform-tests/css/css-contain/contain-inline-size-bfc-floats-001.html [ ImageOnlyFailure ] 4641 4642 # webkit-ruby-text 4642 4643 imported/w3c/web-platform-tests/css/css-contain/contain-layout-017.html [ ImageOnlyFailure ] … … 4694 4695 webkit.org/b/229659 imported/w3c/web-platform-tests/css/css-contain/container-queries/custom-layout-container-001.https.html [ ImageOnlyFailure ] 4695 4696 webkit.org/b/229659 imported/w3c/web-platform-tests/css/css-contain/container-queries/svg-foreignobject-no-size-container.html [ Skip ] 4696 webkit.org/b/229659 imported/w3c/web-platform-tests/css/css-contain/container-queries/inline-size-bfc-floats.html [ ImageOnlyFailure ]4697 4697 4698 4698 # Flaky css-contain test -
trunk/Source/WebCore/rendering/RenderBlockFlow.cpp
r293943 r294754 2844 2844 child.setMarginRight(childOldMarginRight); 2845 2845 2846 auto shouldAvoidCurrentVerticalPosition = !availableLogicalWidthAtNewLogicalTopOffset || childLogicalWidthAtNewLogicalTopOffset > availableLogicalWidthAtNewLogicalTopOffset; 2847 if (!shouldAvoidCurrentVerticalPosition) { 2846 if (childLogicalWidthAtNewLogicalTopOffset <= availableLogicalWidthAtNewLogicalTopOffset) { 2848 2847 // Even though we may not be moving, if the logical width did shrink because of the presence of new floats, then 2849 2848 // we need to force a relayout as though we shifted. This happens because of the dynamic addition of overhanging floats
Note:
See TracChangeset
for help on using the changeset viewer.