| Index: LayoutTests/fast/repaint/align-self-change.html
|
| diff --git a/LayoutTests/fast/repaint/align-self-change.html b/LayoutTests/fast/repaint/align-self-change.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5d71a128a751bf0abb762b08257e7cd21a142275
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/repaint/align-self-change.html
|
| @@ -0,0 +1,35 @@
|
| +<!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>
|
| +body {
|
| + margin: 0;
|
| +}
|
| +.flex {
|
| + display: flex;
|
| + align-items: flex-start;
|
| + width: 200px;
|
| + height: 300px;
|
| + background-color: red;
|
| +}
|
| +.item {
|
| + background-color: green;
|
| + border: solid thin blue;
|
| + width: 100px;
|
| +}
|
| +</style>
|
| +<p style="height: 20px">Tests repaint on align-self style change. Passes if there is no red.</p>
|
| +<div class="flex">
|
| + <div class="item">
|
| + <div style="height: 100px"></div>
|
| + </div>
|
| + <div class="item">
|
| + <div style="height: 150px"></div>
|
| + </div>
|
| +</div>
|
|
|