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

Unified Diff: LayoutTests/paint/invalidation/spv2/justify-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/justify-self-change-keeping-geometry-expected.html
diff --git a/LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html b/LayoutTests/paint/invalidation/spv2/justify-self-change-keeping-geometry-expected.html
similarity index 65%
copy from LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
copy to LayoutTests/paint/invalidation/spv2/justify-self-change-keeping-geometry-expected.html
index 99d756281f6400583216ddec9f26b95cec17cab5..47546db96c90dc56c149f4336793e8ca7af8320e 100644
--- a/LayoutTests/fast/repaint/justify-self-change-keeping-geometry.html
+++ b/LayoutTests/paint/invalidation/spv2/justify-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('item1')[0].style.justifySelf = 'left';
- document.getElementsByClassName('item2')[0].style.justifySelf = 'right';
-}
-onload = runRepaintTest;
-</script>
<style>
body {
margin: 0;
@@ -21,14 +13,14 @@ body {
.item1 {
grid-row: 1;
grid-column: 1;
- justify-self: start;
+ justify-self: left;
background-color: green;
width: 50px;
}
.item2 {
grid-row: 1;
grid-column: 2;
- justify-self: end;
+ justify-self: right;
background-color: green;
width: 50px;
</style>

Powered by Google App Engine
This is Rietveld 408576698