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

Unified Diff: LayoutTests/fast/repaint/align-items-change-keeping-geometry.html

Issue 1136283006: [CSS Grid Layout] Avoid using StyleAdjuster to resolve 'auto' values. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Fixed some layout tests failures. Created 5 years, 7 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/fast/repaint/align-items-change-keeping-geometry.html
diff --git a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html b/LayoutTests/fast/repaint/align-items-change-keeping-geometry.html
similarity index 76%
copy from LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
copy to LayoutTests/fast/repaint/align-items-change-keeping-geometry.html
index f6b07be1b38d395e58fe85f18a9a142c9f219282..1cf342620f378ac7ea9d9ca1deead27a75fccc4d 100644
--- a/LayoutTests/fast/repaint/align-self-change-keeping-geometry.html
+++ b/LayoutTests/fast/repaint/align-items-change-keeping-geometry.html
@@ -2,8 +2,7 @@
<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';
+ document.getElementById('container').style.alignItems = 'stretch';
}
onload = runRepaintTest;
</script>
@@ -23,7 +22,7 @@ onload = runRepaintTest;
}
</style>
<p style="height: 20px">There should be no invalidations because align-self style change causes no visual change.</p>
-<div class="flex">
+<div id="container" class="flex">
<div class="item"></div>
<div class="item"></div>
</div>

Powered by Google App Engine
This is Rietveld 408576698