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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/no-caret-repaint-in-non-content-editable-element.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/fast/repaint/no-caret-repaint-in-non-content-editable-element.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/no-caret-repaint-in-non-content-editable-element.html b/third_party/WebKit/LayoutTests/fast/repaint/no-caret-repaint-in-non-content-editable-element.html
deleted file mode 100644
index d052652ed7b356a38245508856449b6f44554cfb..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/no-caret-repaint-in-non-content-editable-element.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-<head>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-if (window.testRunner) {
- // By definition, when caret browsing is enabled we always paint the caret.
- // So, this test is only applicable when caret browsing is disabled because
- // non-content-editable elements won't cause the caret to be drawn since they
- // are not editable.
- testRunner.overridePreference("WebKitEnableCaretBrowsing", false);
-}
-function repaintTest()
-{
- if (!window.eventSender)
- return;
-
- var target = document.getElementById("target");
- eventSender.mouseMoveTo(target.offsetLeft, target.offsetTop);
- eventSender.mouseDown();
- eventSender.mouseUp();
-}
-window.onload = runRepaintAndPixelTest;
-</script>
-</head>
-<body>
- <p>This tests that clicking on a non-content editable element does not cause a repaint of it in whole or in part.</p>
- <p id="target">This element is not content editable.</p>
-</body>
-</html>

Powered by Google App Engine
This is Rietveld 408576698