| Index: LayoutTests/fast/repaint/align-self-change-no-flex.html
|
| diff --git a/LayoutTests/fast/repaint/align-self-change-no-flex.html b/LayoutTests/fast/repaint/align-self-change-no-flex.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..2cb9d28f66587bbaf5575b936ce30a6e78208c29
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/align-self-change-no-flex.html
|
| @@ -0,0 +1,29 @@
|
| +<!DOCTYPE HTML>
|
| +<script src="resources/text-based-repaint.js"></script>
|
| +<script>
|
| +function repaintTest() {
|
| + document.getElementsByClassName('item')[0].style.alignSelf = 'stretch';
|
| + document.getElementsByClassName('item')[1].style.alignSelf = 'stretch';
|
| +}
|
| +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 repaint when align-self 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>
|
|
|