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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/textarea-caret.html

Issue 2293293003: Make CaretBase a DisplayItemClient. (Closed)
Patch Set: Fix unit test and disable failing test on SPv2. Created 4 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/LayoutTests/paint/invalidation/textarea-caret.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/textarea-caret.html b/third_party/WebKit/LayoutTests/paint/invalidation/textarea-caret.html
new file mode 100644
index 0000000000000000000000000000000000000000..0639dcc81a28fd3f19baae369b5b13e6099924fd
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/textarea-caret.html
@@ -0,0 +1,11 @@
+<!DOCTYPE html>
+<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script>
+function repaintTest() {
+ editor.value = "-".repeat(60);
+ editor.focus();
+}
+onload = runRepaintAndPixelTest;
+</script>
+<!-- Test passes if caret is visible at rightmost edge of input field. -->
+<textarea id="editor" style="white-space: nowrap;"></textarea>

Powered by Google App Engine
This is Rietveld 408576698