| Index: Source/core/layout/LayoutButton.cpp
|
| diff --git a/Source/core/layout/LayoutButton.cpp b/Source/core/layout/LayoutButton.cpp
|
| index 1efc126791e89e34f8f165cc17f0232452061c0d..f9f454ae1058af7f0adb942f322775e01d525b38 100644
|
| --- a/Source/core/layout/LayoutButton.cpp
|
| +++ b/Source/core/layout/LayoutButton.cpp
|
| @@ -103,4 +103,10 @@ int LayoutButton::baselinePosition(FontBaseline baseline, bool firstLine, LineDi
|
| return LayoutFlexibleBox::baselinePosition(baseline, firstLine, direction, linePositionMode);
|
| }
|
|
|
| +
|
| +// For compatibility with IE/FF we only clip overflow on input elements.
|
| +bool LayoutButton::hasControlClip() const
|
| +{
|
| + return !isHTMLButtonElement(node());
|
| +}
|
| } // namespace blink
|
|
|