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

Unified Diff: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h

Issue 1365853003: LayoutBox::scrollRectToVisible doesn't respect overflow:hidden property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Worked on review comments Created 5 years, 3 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: third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
diff --git a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
index 559efa3f0ab29b41b905e7146f86b552821267a5..7176e50c8afc29aa8b39a0c755343c4ae4b40eac 100644
--- a/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
+++ b/third_party/WebKit/Source/core/layout/LayoutTextControlSingleLine.h
@@ -35,7 +35,7 @@ public:
LayoutTextControlSingleLine(HTMLInputElement*);
~LayoutTextControlSingleLine() override;
// FIXME: Move createInnerEditorStyle() to TextControlInnerEditorElement.
- PassRefPtr<ComputedStyle> createInnerEditorStyle(const ComputedStyle& startStyle) const final;
+ PassRefPtr<ComputedStyle> createInnerEditorStyle(const ComputedStyle& startStyle) final;
void capsLockStateMayHaveChanged();
@@ -47,6 +47,7 @@ protected:
HTMLInputElement* inputElement() const;
private:
+ void addScrollbarPeudoStyle();
bool hasControlClip() const final;
LayoutRect controlClipRect(const LayoutPoint&) const final;
bool isOfType(LayoutObjectType type) const override { return type == LayoutObjectTextField || LayoutTextControl::isOfType(type); }

Powered by Google App Engine
This is Rietveld 408576698