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

Unified Diff: LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-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/horizontal-bt-overflow-same-expected.html
diff --git a/LayoutTests/fast/repaint/horizontal-bt-overflow-same.html b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html
similarity index 70%
copy from LayoutTests/fast/repaint/horizontal-bt-overflow-same.html
copy to LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html
index 8f191a15201531d14516dc987cc2fde4957b3046..a24c88986410e731346efc7c2d3659307aad505b 100644
--- a/LayoutTests/fast/repaint/horizontal-bt-overflow-same.html
+++ b/LayoutTests/paint/invalidation/spv2/horizontal-bt-overflow-same-expected.html
@@ -19,7 +19,6 @@
width: 100px;
height: 100px;
background-color: orange;
- visibility: hidden;
}
</style>
</head>
@@ -30,17 +29,10 @@
</div>
An orange rect should be painted.<br/>
In DumpRenderTree, there should be repaint logs of 100x100 rect. We don't care how many times is the log dumpped.
- <script src="../../resources/run-after-layout-and-paint.js"></script>
- <script src="resources/text-based-repaint.js"></script>
<script>
- repaintTest = function() {
- var target = document.getElementsByClassName("target")[0];
- target.style.visibility = "visible";
- };
var container = document.getElementsByClassName("container")[0];
- runAfterLayoutAndPaint(function() {
+ onload = function() {
container.scrollTop = 0;
- runRepaintTest();
- });
+ };
</script>
</body></html>

Powered by Google App Engine
This is Rietveld 408576698