OLD | NEW |
(Empty) | |
| 1 <!DOCTYPE html> |
| 2 <title>Make sure preferred width calculations stabilize when a child has overflo
w:auto</title> |
| 3 <script src="../resources/testharness.js"></script> |
| 4 <script src="../resources/testharnessreport.js"></script> |
| 5 <div style="height: 100%; position: absolute;"> |
| 6 <div style="display:flex; height: 100%;"> |
| 7 <div> |
| 8 <div style="display: flex; flex-direction: column; height: 100%;"> |
| 9 <p>test</p> |
| 10 <div id="content" style="flex: auto; position: relative; overflow: auto;
"> |
| 11 <p style="position: absolute;">test</p> |
| 12 </div> |
| 13 </div> |
| 14 </div> |
| 15 </div> |
| 16 </div> |
| 17 <script> |
| 18 test(function() { |
| 19 document.getElementById('content').offsetTop; |
| 20 }, "Hooray, no infinite loop."); |
| 21 </script> |
OLD | NEW |