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

Unified Diff: Source/core/rendering/RenderButton.h

Issue 143983013: text-overflow on button should have effect (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: layout test modified to work on all port Created 6 years, 11 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/rendering/RenderButton.h
diff --git a/Source/core/rendering/RenderButton.h b/Source/core/rendering/RenderButton.h
old mode 100644
new mode 100755
index 5107efa98c809e78cab5709529d1857b42cc90c3..246bab6ec37b9d534ca5dc9432063ded010d0bf4
--- a/Source/core/rendering/RenderButton.h
+++ b/Source/core/rendering/RenderButton.h
@@ -40,6 +40,7 @@ public:
virtual bool isRenderButton() const OVERRIDE { return true; }
virtual bool canBeSelectionLeaf() const OVERRIDE { return node() && node()->rendererIsEditable(); }
+ virtual bool canCollapseAnonymousBlockChild() const OVERRIDE { return true; }
virtual void addChild(RenderObject* newChild, RenderObject *beforeChild = 0) OVERRIDE;
virtual void removeChild(RenderObject*) OVERRIDE;
« no previous file with comments | « LayoutTests/fast/css/text-overflow-ellipsis-button-expected.html ('k') | Source/core/rendering/RenderFlexibleBox.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698