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

Unified Diff: third_party/WebKit/ManualTests/caret-paint-after-last-text-is-removed.html

Issue 1654123002: Invalidate the previous caret even if the parent text node is removed. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: more polishing if statement Created 4 years, 10 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/ManualTests/caret-paint-after-last-text-is-removed.html
diff --git a/third_party/WebKit/ManualTests/caret-paint-after-last-text-is-removed.html b/third_party/WebKit/ManualTests/caret-paint-after-last-text-is-removed.html
new file mode 100644
index 0000000000000000000000000000000000000000..5285a077310c0a23970d3e9cef44f97782c212e3
--- /dev/null
+++ b/third_party/WebKit/ManualTests/caret-paint-after-last-text-is-removed.html
@@ -0,0 +1,20 @@
+<!DOCTYPE html>
+<html>
+<head>
+ <style>
+ input {
+ outline: none;
+ font-size: 12px;
+ }
+ </style>
+</head>
+<body>
+<p>When the last character is removed from a text box, the caret must be painted correctly. How to test:<br/>
+ 1. use --enable-partial-raster command line.<br/>
+ 2. type any characters in the input box.<br/>
+ 3. delete all characters.<br/>
+If you see two carets, the test is failed.</p>
+</p>
+<input/>
+</body>
+</html>

Powered by Google App Engine
This is Rietveld 408576698