Changeset 282008 in webkit
- Timestamp:
- Sep 3, 2021, 10:30:39 AM (5 years ago)
- Location:
- trunk
- Files:
-
- 4 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/platform/win/TestExpectations (modified) (1 diff)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderGrid.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r282005 r282008 1 2021-09-03 Ziran Sun <zsun@igalia.com> 2 3 REGRESSION(r280078): broke fast/images/exif-orientation-composited.html on windows 4 https://bugs.webkit.org/show_bug.cgi?id=228325 5 6 Reviewed by Javier Fernandez. 7 8 * platform/win/TestExpectations: 9 1 10 2021-09-03 Ayumi Kojima <ayumi_kojima@apple.com> 2 11 -
trunk/LayoutTests/platform/win/TestExpectations
r281967 r282008 3787 3787 webkit.org/b/177216 fast/images/animated-image-mp4.html [ Skip ] 3788 3788 3789 webkit.org/b/228325 fast/images/exif-orientation-composited.html [ Pass ImageOnlyFailure ]3790 3791 3789 webkit.org/b/177234 http/wpt/resource-timing/rt-cors.html [ Skip ] 3792 3790 webkit.org/b/177234 http/wpt/resource-timing/rt-cors.worker.html [ Skip ] -
trunk/Source/WebCore/ChangeLog
r281996 r282008 1 2021-09-03 Ziran Sun <zsun@igalia.com> 2 3 REGRESSION(r280078): broke fast/images/exif-orientation-composited.html on windows 4 https://bugs.webkit.org/show_bug.cgi?id=228325 5 6 Reviewed by Javier Fernandez. 7 8 The is to fix regression caused by r280078. After updating overridingLogicalWidth, 9 there is no need to reset the logicalWidth. 10 11 No test needed. Test fast/images/exif-orientation-composited.html is enough to cover 12 the affected code. 13 14 * rendering/RenderGrid.cpp: 15 (WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded): 16 1 17 2021-09-03 Peng Liu <peng.liu6@apple.com> 2 18 -
trunk/Source/WebCore/rendering/RenderGrid.cpp
r280078 r282008 1178 1178 LayoutUnit desiredLogicalWidth = constrainLogicalWidthInFragmentByMinMax(stretchedLogicalWidth, contentWidth(), *this, nullptr); 1179 1179 child.setOverridingLogicalWidth(desiredLogicalWidth); 1180 if (desiredLogicalWidth != child.logicalWidth()) { 1181 child.setLogicalWidth(0_lu); 1180 if (desiredLogicalWidth != child.logicalWidth()) 1182 1181 child.setNeedsLayout(MarkOnlyThis); 1183 }1184 1182 } 1185 1183 }
Note:
See TracChangeset
for help on using the changeset viewer.