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

Unified Diff: LayoutTests/paint/invalidation/spv2/updating-scrolling-container.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/updating-scrolling-container.html
diff --git a/LayoutTests/compositing/overflow/updating-scrolling-container.html b/LayoutTests/paint/invalidation/spv2/updating-scrolling-container.html
similarity index 64%
copy from LayoutTests/compositing/overflow/updating-scrolling-container.html
copy to LayoutTests/paint/invalidation/spv2/updating-scrolling-container.html
index 63032559dcbe1bcfad3cf564f6fd7b685dd8292e..8aadae7605e86c0e8d3ec588050f69ef4465fa3c 100644
--- a/LayoutTests/compositing/overflow/updating-scrolling-container.html
+++ b/LayoutTests/paint/invalidation/spv2/updating-scrolling-container.html
@@ -1,10 +1,14 @@
+<!-- Based on compositing/overflow/updating-scrolling-container.html -->
<!DOCTYPE html>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
-function repaintTest() {
+window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV id='container'",
+];
+function paintInvalidationTest() {
document.getElementById('container').style.borderColor = "green";
}
-onload = runRepaintTest;
+onload = runPaintInvalidationTest;
</script>
<style>
#container {

Powered by Google App Engine
This is Rietveld 408576698