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

Unified Diff: LayoutTests/fast/text/caps-lock-indicator-enabled.html

Issue 1177043016: [SP] Add a drawing recorder before painting caps lock indicator in password fields. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Need to rebaseline new tests under virtual/antialiasedtext as well. Created 5 years, 6 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: LayoutTests/fast/text/caps-lock-indicator-enabled.html
diff --git a/LayoutTests/fast/text/caps-lock-indicator-enabled.html b/LayoutTests/fast/text/caps-lock-indicator-enabled.html
new file mode 100644
index 0000000000000000000000000000000000000000..7d6ae170605fcba8897fe81f88c4f158190ab56c
--- /dev/null
+++ b/LayoutTests/fast/text/caps-lock-indicator-enabled.html
@@ -0,0 +1,8 @@
+<!doctype html>
+Test passes if password field includes caps lock icon on right edge on Mac platforms only.<br>
+<input id="password" type="password">
+<script>
+ if (window.internals)
+ window.internals.setCapsLockState(true);
+ password.focus();
+</script>
« no previous file with comments | « LayoutTests/fast/text/caps-lock-indicator-disabled.html ('k') | Source/core/layout/LayoutTextControlSingleLine.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698