| Index: third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| index 8e413135d2792c063e08c46f16096b1b88dc2707..810a240d11a4bfbec27f925d0c110d86d9d44bea 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutBlock.cpp
|
| @@ -356,9 +356,6 @@ void LayoutBlock::removeLeftoverAnonymousBlock(LayoutBlock* child) {
|
| if (child->continuation())
|
| return;
|
|
|
| - if (isFieldset())
|
| - return;
|
| -
|
| // Promote all the leftover anonymous block's children (to become children of
|
| // this block instead). We still want to keep the leftover block in the tree
|
| // for a moment, for notification purposes done further below (flow threads
|
| @@ -1993,9 +1990,6 @@ LayoutBlock* LayoutBlock::createAnonymousWithParentAndDisplay(
|
| if (display == EDisplay::Flex || display == EDisplay::InlineFlex) {
|
| newBox = LayoutFlexibleBox::createAnonymous(&parent->document());
|
| newDisplay = EDisplay::Flex;
|
| - } else if (display == EDisplay::Grid || display == EDisplay::InlineGrid) {
|
| - newBox = LayoutGrid::createAnonymous(&parent->document());
|
| - newDisplay = EDisplay::Grid;
|
| } else {
|
| newBox = LayoutBlockFlow::createAnonymous(&parent->document());
|
| newDisplay = EDisplay::Block;
|
|
|