| Index: third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes-abspos.html
|
| diff --git a/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes-abspos.html b/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes-abspos.html
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..14651f27662abe09375fa74b56f68ade5d10206a
|
| --- /dev/null
|
| +++ b/third_party/WebKit/LayoutTests/css3/flexbox/overflow-auto-dynamic-changes-abspos.html
|
| @@ -0,0 +1,60 @@
|
| +<!DOCTYPE html>
|
| +
|
| +<style>
|
| + body {
|
| + width: 400px;
|
| + height: 300px;
|
| + }
|
| +
|
| + .flexbox {
|
| + display: flex;
|
| + }
|
| +
|
| + .column {
|
| + flex-direction: column;
|
| + }
|
| +
|
| + .flex11a {
|
| + flex: 1 1 auto;
|
| + }
|
| +
|
| + .root {
|
| + height: 100px;
|
| + overflow-y: auto;
|
| + position: relative;
|
| + }
|
| +
|
| + #abspos {
|
| + position: absolute;
|
| + left: 0;
|
| + right: 0;
|
| + top: 0;
|
| + height: 10px;
|
| + }
|
| +</style>
|
| +
|
| +
|
| +<p>This test should not have a horizontal scrollbar</p>
|
| +
|
| +<div class="flexbox column">
|
| + <div class="flexbox">
|
| + <div class="flex11a">
|
| + <div class="root">
|
| + <div>
|
| + <div>
|
| + <div id="history"></div>
|
| + <div id="abspos"></div>
|
| + </div>
|
| + </div>
|
| + </div>
|
| + </div>
|
| + </div>
|
| +</div>
|
| +
|
| +<script>
|
| +onload = function() {
|
| + var historyEl = document.getElementById('history');
|
| + historyEl.offsetWidth;
|
| + historyEl.innerText = '\n\n\n\n\n\n\n\n';
|
| +};
|
| +</script>
|
|
|