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

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

Issue 2321183002: Move repaint tests (except for svg/) to paint/invalidation (Closed)
Patch Set: - 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/caret-subpixel.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html b/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html
new file mode 100644
index 0000000000000000000000000000000000000000..786f202b0db59986fb052dd3af88d5cbbc24df31
--- /dev/null
+++ b/third_party/WebKit/LayoutTests/paint/invalidation/caret-subpixel.html
@@ -0,0 +1,15 @@
+<!DOCTYPE html>
+<style>
+#target:focus {
+ outline:none;
+}
+</style>
+<script src="resources/text-based-repaint.js"></script>
+<!-- Tests that carets are painted at pixel-snapped positions. If the caret is blurry, the test has failed. -->
+<input id="target" type="text" style="width:200.5px; text-align: right; padding-right: 19px">
+<script>
+function repaintTest() {
+ target.focus();
+}
+onload = runRepaintAndPixelTest;
+</script>

Powered by Google App Engine
This is Rietveld 408576698