| Index: Source/core/layout/line/InlineBox.h
|
| diff --git a/Source/core/layout/line/InlineBox.h b/Source/core/layout/line/InlineBox.h
|
| index 545c51c7b5c4604ce498fbdf06546b286a14e536..5662c9de8f0fce34b5e9d4d0eddfa196930ba5d3 100644
|
| --- a/Source/core/layout/line/InlineBox.h
|
| +++ b/Source/core/layout/line/InlineBox.h
|
| @@ -279,7 +279,7 @@ public:
|
|
|
| bool visibleToHitTestRequest(const HitTestRequest& request) const { return layoutObject().visibleToHitTestRequest(request); }
|
|
|
| - EVerticalAlign verticalAlign() const { return layoutObject().style(m_bitfields.firstLine())->verticalAlign(); }
|
| + EVerticalAlign verticalAlign() const { return layoutObject().isText() ? ComputedStyle::initialVerticalAlign() : layoutObject().style(m_bitfields.firstLine())->verticalAlign(); }
|
|
|
| // Use with caution! The type is not checked!
|
| LayoutBoxModelObject* boxModelObject() const
|
|
|