Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(212)

Unified Diff: Source/core/layout/LayoutButton.h

Issue 1006023002: Button elements are clipping overflow by default (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Updated Created 5 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: Source/core/layout/LayoutButton.h
diff --git a/Source/core/layout/LayoutButton.h b/Source/core/layout/LayoutButton.h
index fc9dd7a267bdb66a25759e4b190d420be0661cd3..cd1e1093a5007318d0592e1a9f433a91ef666b5d 100644
--- a/Source/core/layout/LayoutButton.h
+++ b/Source/core/layout/LayoutButton.h
@@ -45,7 +45,7 @@ public:
virtual void removeLeftoverAnonymousBlock(LayoutBlock*) override { }
virtual bool createsAnonymousWrapper() const override { return true; }
- virtual bool hasControlClip() const override { return true; }
+ virtual bool hasControlClip() const override;
virtual LayoutRect controlClipRect(const LayoutPoint&) const override;
virtual int baselinePosition(FontBaseline, bool firstLine, LineDirectionMode, LinePositionMode) const override;
« no previous file with comments | « LayoutTests/platform/linux/fast/forms/control-clip-overflow-expected.txt ('k') | Source/core/layout/LayoutButton.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698