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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/4774354.html

Issue 2327223002: Move all remaining fast/repaint tests 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/4774354.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/4774354.html b/third_party/WebKit/LayoutTests/fast/repaint/4774354.html
deleted file mode 100644
index 6a491049f185c2117d8b7356eb7510a39aa2444e..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/4774354.html
+++ /dev/null
@@ -1,39 +0,0 @@
-<script src="../../resources/run-after-layout-and-paint.js" type="text/javascript"></script>
-<script type="text/javascript">
-
-function step1() {
- if (window.testRunner)
- window.testRunner.waitUntilDone();
- // Wait for the frame to load.
- window.setTimeout(step2, 100);
-}
-
-function step2() {
- var frame = frames[0];
- var doc = frame.document;
- var body = doc.body;
- var sel = frame.getSelection();
- frame.focus();
- sel.collapse(body, 0);
- doc.execCommand("InsertText", false, "You should not see a caret in this text.");
- var text = body.firstChild;
- sel.collapse(text, text.length);
- // Wait for the caret to paint.
- runAfterLayoutAndPaint(repaintTest);
-}
-
-function repaintTest() {
- var frame = frames[0];
- var doc = frame.document;
- var body = doc.body;
- var text = body.firstChild;
- var sel = frame.getSelection();
- sel.setBaseAndExtent(text, 5, text, text.length);
- if (window.testRunner)
- window.testRunner.notifyDone();
-}
-</script>
-
-<body onload="step1();">
-<iframe src="resources/contenteditable-iframe-src.html"></iframe>
-</body>

Powered by Google App Engine
This is Rietveld 408576698