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

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: add FrameSelectionTest.InvalidatePreviousCaretAfterRemovingLastCharacter 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..7fe7ecc23de7689c9665a0a32294c510475a644d
--- /dev/null
+++ b/third_party/WebKit/ManualTests/caret-paint-after-last-text-is-removed.html
@@ -0,0 +1,21 @@
+<!DOCTYPE html>
yosin_UTC9 2016/02/25 02:03:55 Since we have an unit test, we don't need to have
dshwang 2016/02/25 18:27:08 Ok, removed
+<html>
+<head>
+ <style>
+ input {
+ outline: none;
+ font-size: 12px;
+ font-weight: bold;
+ }
+ </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>
« no previous file with comments | « third_party/WebKit/LayoutTests/TestExpectations ('k') | third_party/WebKit/Source/core/editing/FrameSelection.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698