Changeset 236510 in webkit
- Timestamp:
- Sep 26, 2018, 11:20:09 AM (8 years ago)
- Location:
- tags/Safari-607.1.7.3
- Files:
-
- 2 added
- 3 edited
-
LayoutTests/ChangeLog (modified) (1 diff)
-
LayoutTests/printing/crash-while-formatting-subframe-for-printing-expected.txt (added)
-
LayoutTests/printing/crash-while-formatting-subframe-for-printing.html (added)
-
Source/WebCore/ChangeLog (modified) (1 diff)
-
Source/WebCore/rendering/RenderView.cpp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tags/Safari-607.1.7.3/LayoutTests/ChangeLog
r236166 r236510 1 2018-09-26 Babak Shafiei <bshafiei@apple.com> 2 3 Cherry-pick r236288. rdar://problem/43659749 4 5 Release assert under RenderView::pageOrViewLogicalHeight 6 https://bugs.webkit.org/show_bug.cgi?id=189798 7 <rdar://problem/43659749> 8 9 Reviewed by Simon Fraser. 10 11 Source/WebCore: 12 13 Only the mainframe's render view is sized to the page while printing. 14 Use the matching check (see RenderView::layout) when accessing m_pageLogicalSize. 15 16 Test: printing/crash-while-formatting-subframe-for-printing.html 17 18 * rendering/RenderView.cpp: 19 (WebCore::RenderView::pageOrViewLogicalHeight const): 20 21 LayoutTests: 22 23 * printing/crash-while-formatting-subframe-for-printing-expected.txt: Added. 24 * printing/crash-while-formatting-subframe-for-printing.html: Added. 25 26 27 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236288 268f45cc-cd09-0410-ab3c-d52691b4dbfc 28 29 2018-09-20 Zalan Bujtas <zalan@apple.com> 30 31 Release assert under RenderView::pageOrViewLogicalHeight 32 https://bugs.webkit.org/show_bug.cgi?id=189798 33 <rdar://problem/43659749> 34 35 Reviewed by Simon Fraser. 36 37 * printing/crash-while-formatting-subframe-for-printing-expected.txt: Added. 38 * printing/crash-while-formatting-subframe-for-printing.html: Added. 39 1 40 2018-09-19 Ms2ger <Ms2ger@igalia.com> 2 41 -
tags/Safari-607.1.7.3/Source/WebCore/ChangeLog
r236509 r236510 1 2018-09-26 Babak Shafiei <bshafiei@apple.com> 2 3 Cherry-pick r236288. rdar://problem/43659749 4 5 Release assert under RenderView::pageOrViewLogicalHeight 6 https://bugs.webkit.org/show_bug.cgi?id=189798 7 <rdar://problem/43659749> 8 9 Reviewed by Simon Fraser. 10 11 Source/WebCore: 12 13 Only the mainframe's render view is sized to the page while printing. 14 Use the matching check (see RenderView::layout) when accessing m_pageLogicalSize. 15 16 Test: printing/crash-while-formatting-subframe-for-printing.html 17 18 * rendering/RenderView.cpp: 19 (WebCore::RenderView::pageOrViewLogicalHeight const): 20 21 LayoutTests: 22 23 * printing/crash-while-formatting-subframe-for-printing-expected.txt: Added. 24 * printing/crash-while-formatting-subframe-for-printing.html: Added. 25 26 27 git-svn-id: https://svn.webkit.org/repository/webkit/trunk@236288 268f45cc-cd09-0410-ab3c-d52691b4dbfc 28 29 2018-09-20 Zalan Bujtas <zalan@apple.com> 30 31 Release assert under RenderView::pageOrViewLogicalHeight 32 https://bugs.webkit.org/show_bug.cgi?id=189798 33 <rdar://problem/43659749> 34 35 Reviewed by Simon Fraser. 36 37 Only the mainframe's render view is sized to the page while printing. 38 Use the matching check (see RenderView::layout) when accessing m_pageLogicalSize. 39 40 Test: printing/crash-while-formatting-subframe-for-printing.html 41 42 * rendering/RenderView.cpp: 43 (WebCore::RenderView::pageOrViewLogicalHeight const): 44 1 45 2018-09-26 Babak Shafiei <bshafiei@apple.com> 2 46 -
tags/Safari-607.1.7.3/Source/WebCore/rendering/RenderView.cpp
r232991 r236510 249 249 LayoutUnit RenderView::pageOrViewLogicalHeight() const 250 250 { 251 if ( document().printing())251 if (shouldUsePrintingLayout()) 252 252 return m_pageLogicalSize->height(); 253 253
Note:
See TracChangeset
for help on using the changeset viewer.