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

Unified Diff: third_party/WebKit/public/web/WebFormControlElement.h

Issue 2161963003: Make autofill dropdown to obey text-align: left|right CSS property. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix comments Created 4 years, 5 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/public/web/WebFormControlElement.h
diff --git a/third_party/WebKit/public/web/WebFormControlElement.h b/third_party/WebKit/public/web/WebFormControlElement.h
index 0f01e1b788bf28a90591a1a2e5d832e3a55fb639..0600045ed455242eeeffa467208ace90c227589d 100644
--- a/third_party/WebKit/public/web/WebFormControlElement.h
+++ b/third_party/WebKit/public/web/WebFormControlElement.h
@@ -100,6 +100,9 @@ public:
// element nor textarea element, 0 is returned.
BLINK_EXPORT int selectionEnd() const;
+ // Returns text-align(only left and right are supported. see crbug.com/482339) of text of element.
+ BLINK_EXPORT WebString alignmentForFormData() const;
+
// Returns direction of text of element.
BLINK_EXPORT WebString directionForFormData() const;

Powered by Google App Engine
This is Rietveld 408576698