Index: LayoutTests/fast/repaint/align-content-change-no-flex.html |
diff --git a/LayoutTests/fast/repaint/align-content-change-no-flex.html b/LayoutTests/fast/repaint/align-content-change-no-flex.html |
new file mode 100644 |
index 0000000000000000000000000000000000000000..99399923920befef5f19e5c385e77bc1f5ba42b1 |
--- /dev/null |
+++ b/LayoutTests/fast/repaint/align-content-change-no-flex.html |
@@ -0,0 +1,28 @@ |
+<!DOCTYPE HTML> |
+<script src="resources/text-based-repaint.js"></script> |
+<script> |
+function repaintTest() { |
+ document.getElementById('container').style.alignContent = 'flex-end'; |
+} |
+onload = runRepaintTest; |
+</script> |
+<style> |
+.container { |
+ width: 200px; |
+ height: 300px; |
+ background-color: blue; |
+} |
+.item { |
+ background-color: green; |
+ border: solid thin blue; |
+} |
+</style> |
+There should be no invalidations when align-content changes on a non-flex container. |
+<div id="container"> |
+ <div class="item"> |
+ <div style="height: 100px"></div> |
+ </div> |
+ <div class="item"> |
+ <div style="height: 150px"></div> |
+ </div> |
+</div> |