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

Unified Diff: LayoutTests/paint/invalidation/spv2/compositing-reason-removed.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/compositing-reason-removed.html
diff --git a/LayoutTests/compositing/layer-creation/compositing-reason-removed.html b/LayoutTests/paint/invalidation/spv2/compositing-reason-removed.html
similarity index 60%
copy from LayoutTests/compositing/layer-creation/compositing-reason-removed.html
copy to LayoutTests/paint/invalidation/spv2/compositing-reason-removed.html
index c1e5717f025b7c53c0153f0f663bd4b1e1793973..c3cd91ace0cb27048450e2943402054035dffa50 100644
--- a/LayoutTests/compositing/layer-creation/compositing-reason-removed.html
+++ b/LayoutTests/paint/invalidation/spv2/compositing-reason-removed.html
@@ -1,3 +1,4 @@
+<!-- Based on compositing/layer-creation/compositing-reason-removed.html -->
<!DOCTYPE html>
<style>
#square {
@@ -7,19 +8,17 @@
position: relative;
-webkit-backface-visibility: hidden;
}
-
- #testResults {
- display: none;
- }
</style>
-<script src="../../fast/repaint/resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
- function repaintTest() {
+ window.expectedPaintInvalidationObjects = [
+ ];
+ function paintInvalidationTest() {
// Remove the div's only compositing reason. This should trigger a repaint.
document.getElementById("square").style.webkitBackfaceVisibility = "visible";
}
- runRepaintTest();
+ runPaintInvalidationTest();
</script>
<div id="square"></div>

Powered by Google App Engine
This is Rietveld 408576698