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

Unified Diff: LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-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/align-self-change-keeping-geometry-expected.html
diff --git a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html b/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-expected.html
similarity index 61%
copy from LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
copy to LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-expected.html
index f6b07be1b38d395e58fe85f18a9a142c9f219282..151a3c643c0d209ea3c1545e96870f36b25d2846 100644
--- a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
+++ b/LayoutTests/paint/invalidation/spv2/align-self-change-keeping-geometry-expected.html
@@ -1,12 +1,4 @@
<!DOCTYPE HTML>
-<script src="resources/text-based-repaint.js"></script>
-<script>
-function repaintTest() {
- document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
- document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
-}
-onload = runRepaintTest;
-</script>
<style>
.flex {
display: flex;
@@ -20,6 +12,7 @@ onload = runRepaintTest;
border: solid thin blue;
width: 100px;
height: 300px;
+ align-self: stretch;
}
</style>
<p style="height: 20px">There should be no invalidations because align-self style change causes no visual change.</p>

Powered by Google App Engine
This is Rietveld 408576698