Changeset 194823 in webkit
- Timestamp:
- Jan 9, 2016 4:38:56 PM (8 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r194817 r194823 1 2016-01-09 Zalan Bujtas <zalan@apple.com> 2 3 REGRESSION (r194426): First email field is not autofilled on amazon.com 4 https://bugs.webkit.org/show_bug.cgi?id=152945 5 <rdar://problem/24082914> 6 7 Reviewed by Simon Fraser. 8 9 r194426 missed marking the m_layoutRoot for layout while converting to full layout (it only marked the new layout root). 10 11 * fast/forms/multiple-subtree-layout-failure-expected.html: Added. 12 * fast/forms/multiple-subtree-layout-failure.html: Added. 13 1 14 2016-01-08 Zalan Bujtas <zalan@apple.com> 2 15 -
trunk/Source/WebCore/ChangeLog
r194821 r194823 1 2016-01-09 Zalan Bujtas <zalan@apple.com> 2 3 REGRESSION (r194426): First email field is not autofilled on amazon.com 4 https://bugs.webkit.org/show_bug.cgi?id=152945 5 <rdar://problem/24082914> 6 7 Reviewed by Simon Fraser. 8 9 r194426 missed marking the m_layoutRoot for layout while converting to full layout (it only marked the new layout root). 10 11 Test: fast/forms/multiple-subtree-layout-failure.html 12 13 * page/FrameView.cpp: 14 (WebCore::FrameView::scheduleRelayoutOfSubtree): 15 1 16 2016-01-09 Dan Bernstein <mitz@apple.com> 2 17 -
trunk/Source/WebCore/page/FrameView.cpp
r194798 r194823 2649 2649 2650 2650 if (!m_layoutRoot) { 2651 // Just relayout the subtree.2651 // We already have a pending (full) layout. Just mark the subtree for layout. 2652 2652 newRelayoutRoot.markContainingBlocksForLayout(ScheduleRelayout::No); 2653 2653 InspectorInstrumentation::didInvalidateLayout(frame()); … … 2670 2670 return; 2671 2671 } 2672 2673 // Just do a full relayout. 2674 m_layoutRoot = &newRelayoutRoot; 2672 // Two disjoint subtrees need layout. Mark both of them and issue a full layout instead. 2675 2673 convertSubtreeLayoutToFullLayout(); 2674 newRelayoutRoot.markContainingBlocksForLayout(ScheduleRelayout::No); 2676 2675 InspectorInstrumentation::didInvalidateLayout(frame()); 2677 2676 }
Note: See TracChangeset
for help on using the changeset viewer.