Changeset 161484 in webkit


Ignore:
Timestamp:
Jan 7, 2014 11:33:10 PM (10 years ago)
Author:
Antti Koivisto
Message:

REGRESSION (r161195): Acid2 regression tests frequently fail
https://bugs.webkit.org/show_bug.cgi?id=126432

Source/WebCore:

Reviewed by Anders Carlsson.

We would occasionally dump the render tree before the actual last resource on the page was loaded.
The problematic resource is an image loaded by an <object> tag nested as fallback of another <object>.

  • html/HTMLObjectElement.cpp:

(WebCore::HTMLObjectElement::renderFallbackContent):

Force style recalc when rendering fallback content. The current mechanism for triggering the fallback content load
requires a style recalc.

LayoutTests:

Reviewed by Anders Carlsson.

  • TestExpectations: acid2 is no longer flaky.
  • fast/overflow/overflow-height-float-not-removed-crash3-expected.txt: whitespace change.
Location:
trunk
Files:
5 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r161481 r161484  
     12014-01-07  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION (r161195): Acid2 regression tests frequently fail
     4        https://bugs.webkit.org/show_bug.cgi?id=126432
     5
     6        Reviewed by Anders Carlsson.
     7
     8        * TestExpectations: acid2 is no longer flaky.
     9        * fast/overflow/overflow-height-float-not-removed-crash3-expected.txt: whitespace change.
     10
    1112014-01-07  Eric Carlson  <eric.carlson@apple.com>
    212
  • trunk/LayoutTests/TestExpectations

    r161430 r161484  
    7070
    7171webkit.org/b/126142 css3/calc/transitions-dependent.html [ Pass Failure ]
    72 
    73 webkit.org/b/126432 fast/css/acid2-pixel.html [ Pass Failure ]
    74 webkit.org/b/126432 fast/css/acid2.html [ Pass Failure ]
    75 webkit.org/b/126432 http/tests/misc/acid2-pixel.html [ Pass Failure ]
    76 webkit.org/b/126432 http/tests/misc/acid2.html [ Pass Failure ]
  • trunk/LayoutTests/fast/overflow/overflow-height-float-not-removed-crash3-expected.txt

    r161195 r161484  
    11Test passes if it does not crash.
    22 sometextsometextsometextsometextsometextsometext
    3  
     3
  • trunk/Source/WebCore/ChangeLog

    r161482 r161484  
     12014-01-07  Antti Koivisto  <antti@apple.com>
     2
     3        REGRESSION (r161195): Acid2 regression tests frequently fail
     4        https://bugs.webkit.org/show_bug.cgi?id=126432
     5
     6        Reviewed by Anders Carlsson.
     7       
     8        We would occasionally dump the render tree before the actual last resource on the page was loaded.
     9        The problematic resource is an image loaded by an <object> tag nested as fallback of another <object>.
     10
     11        * html/HTMLObjectElement.cpp:
     12        (WebCore::HTMLObjectElement::renderFallbackContent):
     13       
     14            Force style recalc when rendering fallback content. The current mechanism for triggering the fallback content load
     15            requires a style recalc.
     16
    1172014-01-07  Andreas Kling  <akling@apple.com>
    218
  • trunk/Source/WebCore/html/HTMLObjectElement.cpp

    r161196 r161484  
    387387
    388388    m_useFallbackContent = true;
     389
     390    // This is here mainly to keep acid2 non-flaky. A style recalc is required to make fallback resources to load. Without forcing
     391    // this may happen after all the other resources have been loaded and the document is already considered complete.
     392    // FIXME: Disentangle fallback content handling from style recalcs.
     393    document().updateStyleIfNeeded();
    389394}
    390395
Note: See TracChangeset for help on using the changeset viewer.