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

Unified Diff: third_party/WebKit/LayoutTests/fast/repaint/padding-keeping-visual-size.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/padding-keeping-visual-size.html
diff --git a/third_party/WebKit/LayoutTests/fast/repaint/padding-keeping-visual-size.html b/third_party/WebKit/LayoutTests/fast/repaint/padding-keeping-visual-size.html
deleted file mode 100644
index 7fb3bd93413faac8081f52cf85938afd72c6dfab..0000000000000000000000000000000000000000
--- a/third_party/WebKit/LayoutTests/fast/repaint/padding-keeping-visual-size.html
+++ /dev/null
@@ -1,40 +0,0 @@
-<!DOCTYPE HTML>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- // No visual change. Optimally, there should be no repaint.
- var target1 = document.getElementById('target1');
- target1.style.padding = '20px';
- target1.style.width = '60px';
- target1.style.height = '60px';
-
- // Content will shrink. Should repaint at least the content.
- var target2 = document.getElementById('target2');
- target2.style.padding = '20px';
- target2.style.width = '60px';
- target2.style.height = '60px';
-}
-window.onload = runRepaintAndPixelTest;
-</script>
-<style>
-body {
- margin: 0;
-}
-.outer {
- width: 100px;
- height: 100px;
- position: absolute;
- background-color: green;
-}
-#target2 {
- top: 200px;
-}
-.inner {
- width: 100%;
- height: 100%;
- background-color: yellow;
-}
-</style>
-<div id="target1" class="outer"></div>
-<div id="target2" class="outer"><div class="inner"></div></div>

Powered by Google App Engine
This is Rietveld 408576698