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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/selection-clear-after-move.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-after-move.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/selection-clear-after-move.html b/third_party/WebKit/LayoutTests/fast/repaint/selection-clear-after-move.html
deleted file mode 100644
index ae0f99486d152dd15543eafeea3fd961bb169982..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/selection-clear-after-move.html
+++ /dev/null
@@ -1,32 +0,0 @@
-<!DOCTYPE html>
-<script src="../../resources/run-after-layout-and-paint.js"></script>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- getSelection().removeAllRanges();
-}
-onload = function() {
- getSelection().selectAllChildren(document.getElementById('div'));
- runAfterLayoutAndPaint(function() {
- document.getElementById('div').style.top = '300px';
- runRepaintAndPixelTest();
- });
-};
-</script>
-<style>
-img {
- vertical-align: text-bottom;
- width: 50px;
- height: 50px;
-}
-div {
- position: absolute;
- top: 100px;
- left: 100px;
-}
-</style>
-Tests paint invalidation of selection when its cleared after the container is moved.<br>
-Passes if no selection left.
-<div id="div">
- <img></img>
-</div>

Powered by Google App Engine
This is Rietveld 408576698