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

Changeset 181909 in webkit


Ignore:
Timestamp:
Mar 24, 2015, 2:50:32 PM (11 years ago)
Author:
hyatt@apple.com
Message:

Disable layout dimensions optimization for RenderRegions
https://bugs.webkit.org/show_bug.cgi?id=143017

Reviewed by Dean Jackson.

  • dom/Document.cpp:

(WebCore::Document::updateLayoutIfDimensionsOutOfDate):
Turn off the optimization for regions, since auto height regions can change size
without needing a layout.

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r181907 r181909  
     12015-03-24  David Hyatt  <hyatt@apple.com>
     2
     3        Disable layout dimensions optimization for RenderRegions
     4        https://bugs.webkit.org/show_bug.cgi?id=143017
     5
     6        Reviewed by Dean Jackson.
     7
     8        * dom/Document.cpp:
     9        (WebCore::Document::updateLayoutIfDimensionsOutOfDate):
     10        Turn off the optimization for regions, since auto height regions can change size
     11        without needing a layout.
     12
    1132015-03-24  Beth Dakin  <bdakin@apple.com>
    214
  • trunk/Source/WebCore/dom/Document.cpp

    r181898 r181909  
    19281928
    19291929    RenderObject* renderer = element.renderer();
    1930     if (!renderer || renderer->needsLayout())
     1930    if (!renderer || renderer->needsLayout() || renderer->isRenderRegion()) // Needing layout or having auto height regions result in giving up.
    19311931        requireFullLayout = true;
    19321932
Note: See TracChangeset for help on using the changeset viewer.