⚠ Archived content — this site is no longer maintained.   Current WebKit documentation is at docs.webkit.org.

Changeset 282008 in webkit


Ignore:
Timestamp:
Sep 3, 2021, 10:30:39 AM (5 years ago)
Author:
Ziran Sun
Message:

REGRESSION(r280078): broke fast/images/exif-orientation-composited.html on windows
https://bugs.webkit.org/show_bug.cgi?id=228325

Reviewed by Javier Fernandez.

Source/WebCore:

The is to fix regression caused by r280078. After updating overridingLogicalWidth,
there is no need to reset the logicalWidth.

No test needed. Test fast/images/exif-orientation-composited.html is enough to cover
the affected code.

  • rendering/RenderGrid.cpp:

(WebCore::RenderGrid::applyStretchAlignmentToChildIfNeeded):

LayoutTests:

  • platform/win/TestExpectations:
Location:
trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r282005 r282008  
     12021-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
    1102021-09-03  Ayumi Kojima  <ayumi_kojima@apple.com>
    211
  • trunk/LayoutTests/platform/win/TestExpectations

    r281967 r282008  
    37873787webkit.org/b/177216 fast/images/animated-image-mp4.html [ Skip ]
    37883788
    3789 webkit.org/b/228325 fast/images/exif-orientation-composited.html [ Pass ImageOnlyFailure ]
    3790 
    37913789webkit.org/b/177234 http/wpt/resource-timing/rt-cors.html [ Skip ]
    37923790webkit.org/b/177234 http/wpt/resource-timing/rt-cors.worker.html [ Skip ]
  • trunk/Source/WebCore/ChangeLog

    r281996 r282008  
     12021-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
    1172021-09-03  Peng Liu  <peng.liu6@apple.com>
    218
  • trunk/Source/WebCore/rendering/RenderGrid.cpp

    r280078 r282008  
    11781178        LayoutUnit desiredLogicalWidth = constrainLogicalWidthInFragmentByMinMax(stretchedLogicalWidth, contentWidth(), *this, nullptr);
    11791179        child.setOverridingLogicalWidth(desiredLogicalWidth);
    1180         if (desiredLogicalWidth != child.logicalWidth()) {
    1181             child.setLogicalWidth(0_lu);
     1180        if (desiredLogicalWidth != child.logicalWidth())
    11821181            child.setNeedsLayout(MarkOnlyThis);
    1183         }
    11841182    }
    11851183}
Note: See TracChangeset for help on using the changeset viewer.