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

Unified Diff: LayoutTests/paint/invalidation/spv2/align-self-change-no-flex-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-no-flex-expected.html
diff --git a/LayoutTests/fast/repaint/align-self-change-no-flex.html b/LayoutTests/paint/invalidation/spv2/align-self-change-no-flex-expected.html
similarity index 60%
copy from LayoutTests/fast/repaint/align-self-change-no-flex.html
copy to LayoutTests/paint/invalidation/spv2/align-self-change-no-flex-expected.html
index fb3b837cd715bec3d007ccd829776bb96d409e6f..d3819d01b40b1bcb7888f99590356a272cb1a95f 100644
--- a/LayoutTests/fast/repaint/align-self-change-no-flex.html
+++ b/LayoutTests/paint/invalidation/spv2/align-self-change-no-flex-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>
.container {
width: 200px;
@@ -16,6 +8,7 @@ onload = runRepaintTest;
.item {
background-color: green;
border: solid thin blue;
+ align-self: stretch;
}
</style>
There should be no invalidations when align-self changes on a non-flex container.

Powered by Google App Engine
This is Rietveld 408576698