| Index: third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
|
| diff --git a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
|
| index a85f81f7cc6d559ba8d972b8f67e3ba2cc2c8b7f..97ef6d01089aea3803349f65975ea56dce5c43ec 100644
|
| --- a/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
|
| +++ b/third_party/WebKit/Source/core/html/HTMLSummaryElement.cpp
|
| @@ -44,7 +44,12 @@ HTMLSummaryElement* HTMLSummaryElement::create(Document& document) {
|
| HTMLSummaryElement::HTMLSummaryElement(Document& document)
|
| : HTMLElement(summaryTag, document) {}
|
|
|
| -LayoutObject* HTMLSummaryElement::createLayoutObject(const ComputedStyle&) {
|
| +LayoutObject* HTMLSummaryElement::createLayoutObject(
|
| + const ComputedStyle& style) {
|
| + EDisplay display = style.display();
|
| + if (display == EDisplay::Flex || display == EDisplay::InlineFlex ||
|
| + display == EDisplay::Grid || display == EDisplay::InlineGrid)
|
| + return LayoutObject::createObject(this, style);
|
| return new LayoutBlockFlow(this);
|
| }
|
|
|
|
|