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

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

Issue 15725009: Should be able to scroll text in <input> fields with touch (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 7 years, 7 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/RenderBox.h
diff --git a/Source/core/rendering/RenderBox.h b/Source/core/rendering/RenderBox.h
index bce0122fd8c94b0ca88d6676eaaaac8533395d2f..df29dc82d730816a533ea0ebc4c541411e4c449f 100644
--- a/Source/core/rendering/RenderBox.h
+++ b/Source/core/rendering/RenderBox.h
@@ -583,6 +583,11 @@ public:
return isFloatingWithShapeOutside() && ExclusionShapeOutsideInfo::isEnabledFor(this) ? ExclusionShapeOutsideInfo::info(this) : 0;
}
+ bool isScrollableWithoutScrollbars() const
Rick Byers 2013/05/30 16:15:00 It seems a little confusing to me to add a case wh
bokan 2013/05/30 18:23:51 Fixed. Removed this method and moved the condition
+ {
+ return parent() && parent()->isTextField() && hasOverflowClip();
+ }
+
protected:
virtual void willBeDestroyed();

Powered by Google App Engine
This is Rietveld 408576698