| Index: LayoutTests/fast/flexbox/relayout-children-when-switching-direction.html
|
| diff --git a/LayoutTests/fast/flexbox/relayout-children-when-switching-direction.html b/LayoutTests/fast/flexbox/relayout-children-when-switching-direction.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..dd71bd7cdbf1466e9e8178bb83538273c5050657
|
| --- /dev/null
|
| +++ b/LayoutTests/fast/flexbox/relayout-children-when-switching-direction.html
|
| @@ -0,0 +1,26 @@
|
| +<!DOCTYPE html>
|
| +<html>
|
| +<style>
|
| +#flex {
|
| + display: flex;
|
| + width: 100px;
|
| +}
|
| +#flex > div {
|
| + height: 30px;
|
| +}
|
| +.column {
|
| + flex-direction: column;
|
| +}
|
| +</style>
|
| +<body>
|
| +<div id="flex">
|
| + <div>Foo</div>
|
| + <div id="target" data-offset-y=38>Bar</div>
|
| +</div>
|
| +<script src="../../resources/check-layout.js"></script>
|
| +<script>
|
| +var flexbox = document.getElementById('flex');
|
| +flexbox.offsetTop;
|
| +flexbox.classList.add('column');
|
| +checkLayout('#target');
|
| +</script>
|
|
|