diff options
author | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-26 00:20:26 +0530 |
---|---|---|
committer | bors-servo <lbergstrom+bors@mozilla.com> | 2016-01-26 00:20:26 +0530 |
commit | 4755cc5c6211e845fc8081cb3c8a67b4bdbea5cc (patch) | |
tree | 3f8ae4849ca0109a213a9135d8dbf7c3fa3085db /tests/html/overflow-bug-0.html | |
parent | 842ec7c41566c478c07e30c10f330f9f8595eadd (diff) | |
parent | 9c7b9fa32d43c51acadd7bb408ba94161aadb4e6 (diff) | |
download | servo-4755cc5c6211e845fc8081cb3c8a67b4bdbea5cc.tar.gz servo-4755cc5c6211e845fc8081cb3c8a67b4bdbea5cc.zip |
Auto merge of #9405 - pcwalton:absolute-positioning-overflow, r=glennw
layout: Remove some bogus code that tried to handle absolutely-positioned flows separately when storing overflow.
This code dates back to the time when absolutely positioned flows were
ignored by all of their ancestors up to the containing block. This
hasn't been true for at least a year.
Closes #9306.
Closes #9309.
Is a partial fix for #9308.
r? @glennw
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9405)
<!-- Reviewable:end -->
Diffstat (limited to 'tests/html/overflow-bug-0.html')
-rw-r--r-- | tests/html/overflow-bug-0.html | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/tests/html/overflow-bug-0.html b/tests/html/overflow-bug-0.html new file mode 100644 index 00000000000..10e2207ca56 --- /dev/null +++ b/tests/html/overflow-bug-0.html @@ -0,0 +1,18 @@ +<!DOCTYPE html> +<!-- https://github.com/servo/servo/issues/9306 --> +<style> + body { + margin: 0; + } + + .green { + background: #0F0; + height: 40px; + width: 600px; + margin-left: -300px; + } +</style> + +<div class="green"> +</div> + |