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

Changeset 195249 in webkit


Ignore:
Timestamp:
Jan 18, 2016, 11:41:47 PM (11 years ago)
Author:
Carlos Garcia Campos
Message:

Merge r194823 - REGRESSION (r194426): First email field is not autofilled on amazon.com
​https://bugs.webkit.org/show_bug.cgi?id=152945
<rdar://problem/24082914>

Reviewed by Simon Fraser.

r194426 missed marking the m_layoutRoot for layout while converting to full layout (it only marked the new layout root).

Source/WebCore:

Test: fast/forms/multiple-subtree-layout-failure.html

  • page/FrameView.cpp:

(WebCore::FrameView::scheduleRelayoutOfSubtree):

LayoutTests:

  • fast/forms/multiple-subtree-layout-failure-expected.html: Added.
  • fast/forms/multiple-subtree-layout-failure.html: Added.
Location:
releases/WebKitGTK/webkit-2.10
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • releases/WebKitGTK/webkit-2.10/LayoutTests/ChangeLog

    r195220 r195249  
     12016-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
    1142016-01-07  Zalan Bujtas  <zalan@apple.com>
    215
  • releases/WebKitGTK/webkit-2.10/Source/WebCore/ChangeLog

    r195225 r195249  
     12016-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
    1162016-01-07  Brent Fulgham  <bfulgham@apple.com>
    217
  • releases/WebKitGTK/webkit-2.10/Source/WebCore/page/FrameView.cpp

    r195198 r195249  
    26452645
    26462646    if (!m_layoutRoot) {
    2647         // Just relayout the subtree.
     2647        // We already have a pending (full) layout. Just mark the subtree for layout.
    26482648        newRelayoutRoot.markContainingBlocksForLayout(ScheduleRelayout::No);
    26492649        InspectorInstrumentation::didInvalidateLayout(frame());
    … …  
    26662666        return;
    26672667    }
    2668 
    2669     // Just do a full relayout.
    2670     m_layoutRoot = &newRelayoutRoot;
     2668    // Two disjoint subtrees need layout. Mark both of them and issue a full layout instead.
    26712669    convertSubtreeLayoutToFullLayout();
     2670    newRelayoutRoot.markContainingBlocksForLayout(ScheduleRelayout::No);
    26722671    InspectorInstrumentation::didInvalidateLayout(frame());
    26732672}
Note: See TracChangeset for help on using the changeset viewer.