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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/selection-clear.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/selection-clear.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/selection-clear.html b/third_party/WebKit/LayoutTests/fast/repaint/selection-clear.html
deleted file mode 100644
index 9943b1cccf84b976eeaff6be873f2b2b9b1a8848..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/selection-clear.html
+++ /dev/null
@@ -1,29 +0,0 @@
-<html>
-<head>
- <script src="resources/text-based-repaint.js" type="text/javascript"></script>
- <script type="text/javascript">
- function repaintTest()
- {
- firstLine.appendChild(document.createTextNode("\u00a0"));
- firstLine.removeChild(firstLine.firstChild);
- }
- </script>
- <style>
- #firstLine { background-color: green; }
- #firstLine::selection { background-color: green; }
- </style>
-</head>
-<body onload="runRepaintAndPixelTest();">
- <div id="root" style="width: 100px; line-height: 100px;">
- <div id="firstLine">FAIL: Test did not run</div><br>
- </div>
- <script>
- var root = document.getElementById("root");
- var firstLine = document.getElementById("firstLine");
- var selection = getSelection();
-
- selection.setBaseAndExtent(firstLine, 0, root.lastChild, 0);
- </script>
-</body>
-
-

Powered by Google App Engine
This is Rietveld 408576698