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

Unified Diff: LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry.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/align-self-change-keeping-geometry.html
diff --git a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html b/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry.html
similarity index 70%
copy from LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
copy to LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry.html
index f6b07be1b38d395e58fe85f18a9a142c9f219282..8b7d4806ddc2ff29a26b5f8b6f4165931cb5b02e 100644
--- a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
+++ b/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry.html
@@ -1,11 +1,14 @@
+<!-- Based on fast/repaint/align-self-change-keeping-geometry.html -->
<!DOCTYPE HTML>
-<script src="resources/text-based-repaint.js"></script>
+<script src="resources/paint-invalidation-test.js"></script>
<script>
-function repaintTest() {
+window.expectedPaintInvalidationObjects = [
+];
+function paintInvalidationTest() {
document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
}
-onload = runRepaintTest;
+onload = runPaintInvalidationTest;
</script>
<style>
.flex {

Powered by Google App Engine
This is Rietveld 408576698