Changeset 254427 in webkit


Ignore:
Timestamp:
Jan 13, 2020, 3:54:07 AM (6 years ago)
Author:
Antti Koivisto
Message:

[LFC][Integration] imported/blink/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html crashes on iOS
https://bugs.webkit.org/show_bug.cgi?id=206151

Reviewed by Zalan Bujtas.

  • layout/layouttree/LayoutTreeBuilder.cpp:

(WebCore::Layout::TreeBuilder::createLayoutBox):

LFC doesn't expect line break boxes with float set (other layout systems just ignore it).

Location:
trunk/Source/WebCore
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/Source/WebCore/ChangeLog

    r254425 r254427  
     12020-01-13  Antti Koivisto  <antti@apple.com>
     2
     3        [LFC][Integration] imported/blink/fast/shapes/crash-caused-by-dirtying-a-shape-while-computing-it-requires-a-long-filename-to-crash.html crashes on iOS
     4        https://bugs.webkit.org/show_bug.cgi?id=206151
     5
     6        Reviewed by Zalan Bujtas.
     7
     8        * layout/layouttree/LayoutTreeBuilder.cpp:
     9        (WebCore::Layout::TreeBuilder::createLayoutBox):
     10
     11        LFC doesn't expect line break boxes with float set (other layout systems just ignore it).
     12
    1132020-01-13  Antti Koivisto  <antti@apple.com>
    214
  • trunk/Source/WebCore/layout/layouttree/LayoutTreeBuilder.cpp

    r253999 r254427  
    196196        if (is<RenderLineBreak>(renderer)) {
    197197            clonedStyle.setDisplay(DisplayType::Inline);
     198            clonedStyle.setFloating(Float::No);
    198199            childLayoutBox = makeUnique<Box>(elementAttributes(renderer), WTFMove(clonedStyle));
    199200        } else if (is<RenderTable>(renderer)) {
Note: See TracChangeset for help on using the changeset viewer.