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

Unified Diff: LayoutTests/paint/invalidation/spv2/shadow-box-resize-writing-mode-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-writing-mode-expected.html
diff --git a/LayoutTests/fast/box-shadow/shadow-box-resize-writing-mode.html b/LayoutTests/paint/invalidation/spv2/shadow-box-resize-writing-mode-expected.html
similarity index 56%
copy from LayoutTests/fast/box-shadow/shadow-box-resize-writing-mode.html
copy to LayoutTests/paint/invalidation/spv2/shadow-box-resize-writing-mode-expected.html
index 5c8991f268040dbe29a7ab6d20788733210883b3..49c324900d9166f8eda11b65344b3b734ccfd6a4 100644
--- a/LayoutTests/fast/box-shadow/shadow-box-resize-writing-mode.html
+++ b/LayoutTests/paint/invalidation/spv2/shadow-box-resize-writing-mode-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;
@@ -25,18 +14,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