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

Unified Diff: LayoutTests/paint/invalidation/spv2/transform-disable-layoutstate.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/transform-disable-layoutstate.html
diff --git a/LayoutTests/fast/repaint/transform-disable-layoutstate.html b/LayoutTests/paint/invalidation/spv2/transform-disable-layoutstate.html
similarity index 59%
copy from LayoutTests/fast/repaint/transform-disable-layoutstate.html
copy to LayoutTests/paint/invalidation/spv2/transform-disable-layoutstate.html
index 200450fcccee6b4b1d3948d77b26ddea1a126b84..e5428e2d96ccb310f4c58e964f66ae0ec7b9aec8 100644
--- a/LayoutTests/fast/repaint/transform-disable-layoutstate.html
+++ b/LayoutTests/paint/invalidation/spv2/transform-disable-layoutstate.html
@@ -1,15 +1,21 @@
+<!-- Based on fast/repaint/transform-disable-layoutstate.html -->
<!DOCTYPE html>
<html>
<head>
- <script src="resources/text-based-repaint.js" type="text/javascript" charset="utf-8"></script>
+ <script src="resources/paint-invalidation-test.js" type="text/javascript" charset="utf-8"></script>
<script type="text/javascript" charset="utf-8">
- function repaintTest()
+ window.expectedPaintInvalidationObjects = [
+ "LayoutBlockFlow DIV",
+ "LayoutBlockFlow DIV",
+ "LayoutBlockFlow DIV id='target'",
+ ];
+ function paintInvalidationTest()
{
document.getElementById('target').style.height='10px';
}
</script>
</head>
-<body onload="runRepaintTest()">
+<body onload="runPaintInvalidationTest()">
<div id="container" style="width: 500px; transform: translate(50px, 80px)">
<div style="padding-bottom: 100px; background: silver;">
<div style="float: right; height: 50px; width: 50px; background: green;"></div>

Powered by Google App Engine
This is Rietveld 408576698