Changeset 204880 in webkit


Ignore:
Timestamp:
Aug 23, 2016 7:23:19 PM (8 years ago)
Author:
Alan Bujtas
Message:
ASSERTION FAILED: !view().layoutStateEnabled()
style().styleType() == FIRST_LETTER in WebCore::RenderInline::clippedOverflowRectForRepaint

https://bugs.webkit.org/show_bug.cgi?id=155363
<rdar://problem/27720434>

Reviewed by David Hyatt.

Source/WebCore:

Loosen ASSERT to include calls when the inline has a self painting layer. It's valid to end up here during layout when
the layer's composite state changes.

Test: fast/layers/assert-on-self-painting-inline-with-scrolling.html

  • rendering/RenderInline.cpp:

(WebCore::RenderInline::clippedOverflowRectForRepaint):

LayoutTests:

  • fast/layers/assert-on-self-painting-inline-with-scrolling-expected.txt: Added.
  • fast/layers/assert-on-self-painting-inline-with-scrolling.html: Added.
Location:
trunk
Files:
2 added
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/LayoutTests/ChangeLog

    r204878 r204880  
     12016-08-23  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: !view().layoutStateEnabled() || style().styleType() == FIRST_LETTER in WebCore::RenderInline::clippedOverflowRectForRepaint
     4        https://bugs.webkit.org/show_bug.cgi?id=155363
     5        <rdar://problem/27720434>
     6
     7        Reviewed by David Hyatt.
     8
     9        * fast/layers/assert-on-self-painting-inline-with-scrolling-expected.txt: Added.
     10        * fast/layers/assert-on-self-painting-inline-with-scrolling.html: Added.
     11
    1122016-08-23  Chris Dumez  <cdumez@apple.com>
    213
  • trunk/Source/WebCore/ChangeLog

    r204879 r204880  
     12016-08-23  Zalan Bujtas  <zalan@apple.com>
     2
     3        ASSERTION FAILED: !view().layoutStateEnabled() || style().styleType() == FIRST_LETTER in WebCore::RenderInline::clippedOverflowRectForRepaint
     4        https://bugs.webkit.org/show_bug.cgi?id=155363
     5        <rdar://problem/27720434>
     6
     7        Reviewed by David Hyatt.
     8
     9        Loosen ASSERT to include calls when the inline has a self painting layer. It's valid to end up here during layout when
     10        the layer's composite state changes.
     11
     12        Test: fast/layers/assert-on-self-painting-inline-with-scrolling.html
     13
     14        * rendering/RenderInline.cpp:
     15        (WebCore::RenderInline::clippedOverflowRectForRepaint):
     16
    1172016-08-23  Anders Carlsson  <andersca@apple.com>
    218
  • trunk/Source/WebCore/rendering/RenderInline.cpp

    r204667 r204880  
    12071207{
    12081208    // Only first-letter renderers are allowed in here during layout. They mutate the tree triggering repaints.
    1209     ASSERT(!view().layoutStateEnabled() || style().styleType() == FIRST_LETTER);
     1209    ASSERT(!view().layoutStateEnabled() || style().styleType() == FIRST_LETTER || hasSelfPaintingLayer());
    12101210
    12111211    if (!firstLineBoxIncludingCulling() && !continuation())
Note: See TracChangeset for help on using the changeset viewer.