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

Unified Diff: LayoutTests/paint/invalidation/spv2/justify-self-change-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-expected.html
diff --git a/LayoutTests/fast/repaint/justify-self-change.html b/LayoutTests/paint/invalidation/spv2/justify-self-change-expected.html
similarity index 71%
copy from LayoutTests/fast/repaint/justify-self-change.html
copy to LayoutTests/paint/invalidation/spv2/justify-self-change-expected.html
index c9008050862f7249c3ef7f07cbcfb629d5db1dbc..11b5cc47082cd82b2664d85092f8475112fe2ade 100644
--- a/LayoutTests/fast/repaint/justify-self-change.html
+++ b/LayoutTests/paint/invalidation/spv2/justify-self-change-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 = 'start';
- document.getElementsByClassName('item2')[0].style.justifySelf = 'end';
-}
-onload = runRepaintTest;
-</script>
<style>
body {
margin: 0;
@@ -25,6 +17,7 @@ body {
background-color: green;
border: solid thin blue;
width: 50px;
+ justify-self: start;
}
.item2 {
grid-row: 1;
@@ -32,6 +25,7 @@ body {
background-color: green;
border: solid thin blue;
width: 50px;
+ justify-self: end;
</style>
<p style="height: 20px">Tests invalidation on justify-self style change. Passes if there is no red.</p>
<div id="container">

Powered by Google App Engine
This is Rietveld 408576698