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

Unified Diff: LayoutTests/paint/invalidation/spv2/padding-keeping-content-size-expected.html

Issue 1302183007: Convert some text-based-repaint tests for spv2 (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 5 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: LayoutTests/paint/invalidation/spv2/padding-keeping-content-size-expected.html
diff --git a/LayoutTests/fast/repaint/padding-keeping-content-size.html b/LayoutTests/paint/invalidation/spv2/padding-keeping-content-size-expected.html
similarity index 53%
copy from LayoutTests/fast/repaint/padding-keeping-content-size.html
copy to LayoutTests/paint/invalidation/spv2/padding-keeping-content-size-expected.html
index fad6ec49ce89ab1e18e25caa0dc7aaa808a01357..6511a7d4622b46669c1affbe861fc99ed55defe9 100644
--- a/LayoutTests/fast/repaint/padding-keeping-content-size.html
+++ b/LayoutTests/paint/invalidation/spv2/padding-keeping-content-size-expected.html
@@ -1,14 +1,4 @@
<!DOCTYPE HTML>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- // Both targets' visual size expand. Should full repaint.
- document.getElementById('target1').style.padding = '20px';
- document.getElementById('target2').style.padding = '20px';
-}
-window.onload = runRepaintTest;
-</script>
<style>
body {
margin: 0;
@@ -18,6 +8,7 @@ body {
height: 100px;
position: absolute;
background-color: green;
+ padding: 20px;
}
#target2 {
top: 200px;

Powered by Google App Engine
This is Rietveld 408576698