Index: LayoutTests/fast/repaint/align-content-change.html |
diff --git a/LayoutTests/fast/repaint/align-content-change.html b/LayoutTests/fast/repaint/align-content-change.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..e96b5f72800e326c1c279dae5be73626d93f1a7b |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/align-content-change.html |
@@ -0,0 +1,35 @@ |
+<!DOCTYPE HTML> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ document.getElementById('container').style.alignContent = 'stretch'; |
+} |
+onload = runRepaintTest; |
+</script> |
+<style> |
+body { |
+ margin: 0; |
+} |
+#container { |
+ display: flex; |
+ align-content: space-around; |
+ flex-flow: row wrap; |
+ width: 200px; |
+ height: 300px; |
+ background-color: red; |
+} |
+.item { |
+ background-color: green; |
+ border: solid thin blue; |
+ width: 200px; |
+} |
+</style> |
+<p style="height: 20px">Tests invalidation on align-content style change. Passes if there is no red.</p> |
+<div id="container"> |
+ <div class="item"> |
+ <div style="height: 50px"></div> |
+ </div> |
+ <div class="item"> |
+ <div style="height: 50px"></div> |
+ </div> |
+</div> |