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

Unified Diff: third_party/WebKit/LayoutTests/paint/invalidation/spv2/position-change-keeping-geometry.html

Issue 2010243002: Remove paint/invalidation/spv2 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 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/spv2/position-change-keeping-geometry.html
diff --git a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/position-change-keeping-geometry.html b/third_party/WebKit/LayoutTests/paint/invalidation/spv2/position-change-keeping-geometry.html
deleted file mode 100644
index 3e51420e6d6d1b7faaec7f8ccfbe923ad20b9ff3..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/paint/invalidation/spv2/position-change-keeping-geometry.html
+++ /dev/null
@@ -1,56 +0,0 @@
-<!-- Based on fast/repaint/position-change-keeping-geometry.html -->
-<!DOCTYPE html>
-<script src="resources/paint-invalidation-test.js"></script>
-<script>
-function changePositionKeepingGeometry(id, newPosition) {
- var target = document.getElementById(id);
- var originalTop = target.offsetTop;
- var originalLeft = target.offsetLeft;
- target.style.position = newPosition;
- target.style.top = originalTop + 'px';
- target.style.left = originalLeft + 'px';
-}
-
-function paintInvalidationTest()
-{
- changePositionKeepingGeometry('target1', 'absolute');
- changePositionKeepingGeometry('target2', 'absolute');
- changePositionKeepingGeometry('target3', 'fixed');
-}
-onload = runPaintInvalidationTest;
-</script>
-<style>
-body {
- margin: 0;
-}
-div {
- width: 100px;
- height: 100px;
- top: 20px;
- background-color: blue;
-}
-#target0 {
- left: 20px;
- position: relative;
-}
-#target1 {
- left: 20px;
- position: relative;
-}
-#target2 {
- left: 220px;
- position: fixed;
- z-index: 0;
-}
-#target3 {
- left: 420px;
- position: absolute;
- z-index: 0;
-}
-</style>
-There should be no invalildations on change of position without actual change of position and size.
-<!-- target0 ensures we don't strip anonymous wrappers (and trigger a layout) when the other elements change position. -->
-<div id="target0"></div>
-<div id="target1"></div>
-<div id="target2"></div>
-<div id="target3"></div>

Powered by Google App Engine
This is Rietveld 408576698