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

Unified Diff: LayoutTests/fast/repaint/justify-self-overflow-change.html

Issue 1130843004: [CSS Grid Layout] New alignment related repaint layout tests. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Anohter test expected to fail added to TestExpectations. 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/justify-self-overflow-change.html
diff --git a/LayoutTests/fast/repaint/justify-self-overflow-change.html b/LayoutTests/fast/repaint/justify-self-overflow-change.html
index 3d08598d3de06c2e1009b3ecbceee786a9da3066..20ea8d2f571fe3ef4f0c738d666e7c7f614a0aa5 100644
--- a/LayoutTests/fast/repaint/justify-self-overflow-change.html
+++ b/LayoutTests/fast/repaint/justify-self-overflow-change.html
@@ -3,6 +3,7 @@
<script>
function repaintTest() {
document.getElementsByClassName('item1')[0].style.justifySelf = 'end safe';
+ document.getElementsByClassName('item2')[0].style.justifySelf = 'end safe';
}
onload = runRepaintTest;
</script>
@@ -12,8 +13,7 @@ body {
}
#container {
display: grid;
- grid: 100px 100px / 150px 150px;
- justify-items: end true;
+ grid: 100px 100px / 300px;
width: 200px;
height: 300px;
background-color: red;
@@ -21,15 +21,15 @@ body {
.item1 {
grid-row: 1;
grid-column: 1;
+ justify-self: end true;
background-color: green;
- border: solid thin blue;
width: 150px;
}
.item2 {
grid-row: 1;
grid-column: 2;
background-color: green;
- border: solid thin blue;
+ justify-self: end true;
width: 50px;
</style>
<p style="height: 20px">Tests invalidation on justify-self style change. Passes if there is no red.</p>

Powered by Google App Engine
This is Rietveld 408576698