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

Unified Diff: LayoutTests/paint/invalidation/spv2/shadow-box-resize-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/shadow-box-resize-expected.html
diff --git a/LayoutTests/fast/box-shadow/shadow-box-resize.html b/LayoutTests/paint/invalidation/spv2/shadow-box-resize-expected.html
similarity index 54%
copy from LayoutTests/fast/box-shadow/shadow-box-resize.html
copy to LayoutTests/paint/invalidation/spv2/shadow-box-resize-expected.html
index 6d781c480c42be4aa046ddfd51de2c5cdbbdf7a7..cdd02898f27525bb34e52dd8ee6983d1e78f2f69 100644
--- a/LayoutTests/fast/box-shadow/shadow-box-resize.html
+++ b/LayoutTests/paint/invalidation/spv2/shadow-box-resize-expected.html
@@ -1,15 +1,4 @@
<!DOCTYPE html>
-<script src="../repaint/resources/text-based-repaint.js"></script>
-<script>
-function repaintTest()
-{
- document.getElementById('target1').style.width = '150px';
- document.getElementById('target2').style.width = '50px';
- document.getElementById('target3').style.height = '150px';
- document.getElementById('target4').style.height = '50px';
-}
-window.onload = runRepaintTest;
-</script>
<style>
body {
margin: 0;
@@ -24,18 +13,22 @@ div {
#target1 {
top: 100px;
left: 100px;
+ width: 150px;
}
#target2 {
top: 100px;
left: 300px;
+ width: 50px;
}
#target3 {
top: 300px;
left: 100px;
+ height: 150px;
}
#target4 {
top: 300px;
left: 300px;
+ height: 50px;
}
</style>
<div id="target1"></div>

Powered by Google App Engine
This is Rietveld 408576698