| Index: third_party/WebKit/Source/core/layout/LayoutObject.h
|
| diff --git a/third_party/WebKit/Source/core/layout/LayoutObject.h b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| index 484b99accf55737dadfab10d60bcd684daec4194..7e43a2bfeefe452ca909fef3a04b7a88f9e0e125 100644
|
| --- a/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| +++ b/third_party/WebKit/Source/core/layout/LayoutObject.h
|
| @@ -780,13 +780,14 @@ public:
|
| virtual LayoutMultiColumnSpannerPlaceholder* spannerPlaceholder() const { return nullptr; }
|
| bool isColumnSpanAll() const { return style()->getColumnSpan() == ColumnSpanAll && spannerPlaceholder(); }
|
|
|
| - // We include isLayoutButton in this check because buttons are implemented
|
| - // using flex box but should still support first-line|first-letter.
|
| + // We include isLayoutButton() in this check, because buttons are
|
| + // implemented using flex box but should still support things like
|
| + // first-line, first-letter and text-overflow.
|
| // The flex box and grid specs require that flex box and grid do not
|
| // support first-line|first-letter, though.
|
| // TODO(cbiesinger): Remove when buttons are implemented with align-items instead
|
| // of flex box. crbug.com/226252.
|
| - bool canHaveFirstLineOrFirstLetterStyle() const { return isLayoutBlockFlow() || isLayoutButton(); }
|
| + bool behavesLikeBlockContainer() const { return isLayoutBlockFlow() || isLayoutButton(); }
|
|
|
| bool hasFilterOrReflection() const;
|
|
|
|
|