Changeset 215874 in webkit
- Timestamp:
- Apr 27, 2017 9:51:11 AM (7 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r215873 r215874 1 2017-04-27 Antti Koivisto <antti@apple.com> 2 3 Repeated layouts in Mail due to viewport units being used with auto-sizing 4 https://bugs.webkit.org/show_bug.cgi?id=171371 5 <rdar://problem/28780084> 6 7 Reviewed by Zalan Bujtas. 8 9 * css3/viewport-percentage-lengths/vh-auto-size-expected.html: Added. 10 * css3/viewport-percentage-lengths/vh-auto-size.html: Added. 11 1 12 2017-04-27 Joanmarie Diggs <jdiggs@igalia.com> 2 13 -
trunk/LayoutTests/platform/ios/TestExpectations
r215756 r215874 2945 2945 2946 2946 webkit.org/b/171272 fast/text/kaithi.html [ ImageOnlyFailure ] 2947 2948 # auto-sizing produces inconsistent image results 2949 css3/viewport-percentage-lengths/vh-auto-size.html [ ImageOnlyFailure ] -
trunk/LayoutTests/platform/mac-wk1/TestExpectations
r215833 r215874 360 360 webkit.org/b/170935 imported/w3c/web-platform-tests/css/selectors4/focus-within-shadow-004.html [ ImageOnlyFailure ] 361 361 webkit.org/b/170935 imported/w3c/web-platform-tests/css/selectors4/focus-within-shadow-005.html [ ImageOnlyFailure ] 362 363 # auto-sizing produces inconsistent image results 364 css3/viewport-percentage-lengths/vh-auto-size.html [ ImageOnlyFailure ] -
trunk/Source/WebCore/ChangeLog
r215872 r215874 1 2017-04-27 Antti Koivisto <antti@apple.com> 2 3 Repeated layouts in Mail due to viewport units being used with auto-sizing 4 https://bugs.webkit.org/show_bug.cgi?id=171371 5 <rdar://problem/28780084> 6 7 Reviewed by Zalan Bujtas. 8 9 Test: css3/viewport-percentage-lengths/vh-auto-size.html 10 11 Auto-sizing code would adjust the size of the view in the beginning of layout(). This would 12 end up invalidating style for elements that use vh units and we would perform main layout 13 with unclean style. This would result in endless layout loops and hit assert on debug. 14 15 * page/FrameView.cpp: 16 (WebCore::FrameView::availableContentSizeChanged): 17 18 Ensure we heve clean style after resize if we are in pre-layout. 19 1 20 2017-04-27 Alex Christensen <achristensen@webkit.org> 2 21 -
trunk/Source/WebCore/page/FrameView.cpp
r215425 r215874 3758 3758 } 3759 3759 3760 // All the resizing above may have invalidated style (for example if viewport units are being used). 3761 document->updateStyleIfNeeded(); 3762 3760 3763 m_autoSizeContentSize = contentsSize(); 3761 3764
Note: See TracChangeset
for help on using the changeset viewer.