Changeset 20936 in webkit


Ignore:
Timestamp:
Apr 18, 2007 5:33:29 PM (17 years ago)
Author:
darin
Message:

Reviewed by Hyatt.

  • dom/Document.cpp: (WebCore::Document::updateLayout): If we have a parent frame, update its layout too.
Location:
trunk/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/WebCore/ChangeLog

    r20932 r20936  
     12007-04-18  Darin Adler  <darin@apple.com>
     2
     3        Reviewed by Hyatt.
     4
     5        - fix http://bugs.webkit.org/show_bug.cgi?id=13375
     6          REGRESSION (r20901): failing fast/overflow/scrollRevealButton.html
     7
     8        * dom/Document.cpp: (WebCore::Document::updateLayout):
     9        If we have a parent frame, update its layout too.
     10
    1112007-04-18  Alp Toker  <alp@atoker.com>
    212
  • trunk/WebCore/dom/Document.cpp

    r20813 r20936  
    1 /**
    2  * This file is part of the DOM implementation for KDE.
    3  *
     1/*
    42 * Copyright (C) 1999 Lars Knoll (knoll@kde.org)
    53 *           (C) 1999 Antti Koivisto (koivisto@kde.org)
    64 *           (C) 2001 Dirk Mueller (mueller@kde.org)
    75 *           (C) 2006 Alexey Proskuryakov (ap@webkit.org)
    8  * Copyright (C) 2004, 2005, 2006 Apple Computer, Inc.
     6 * Copyright (C) 2004, 2005, 2006, 2007 Apple Inc. All rights reserved.
    97 *
    108 * This library is free software; you can redistribute it and/or
     
    10591057void Document::updateLayout()
    10601058{
     1059    if (Element* oe = ownerElement())
     1060        oe->document()->updateLayout();
     1061
    10611062    // FIXME: Dave Hyatt's pretty sure we can remove this because layout calls recalcStyle as needed.
    10621063    updateRendering();
Note: See TracChangeset for help on using the changeset viewer.