Auto merge of #7588 - notriddle:master, r=pcwalton

Actually store the overflow for inline-block elements.

Fixes #7571

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/7588)
<!-- Reviewable:end -->
This commit is contained in:
bors-servo 2015-09-17 00:53:04 -06:00
commit 9e914ca0db
7 changed files with 72 additions and 6 deletions

View file

@ -274,6 +274,7 @@ flaky_cpu == linebreak_simple_a.html linebreak_simple_b.html
# Should be ==?
!= overflow_position_abs_inside_normal_a.html overflow_position_abs_inside_normal_b.html
== overflow_position_abs_simple_a.html overflow_position_abs_simple_b.html
== overflow_position_rel_inline_block.html overflow_position_rel_inline_block_ref.html
== overflow_scroll.html overflow_simple_b.html
== overflow_simple_a.html overflow_simple_b.html
== overflow_wrap_a.html overflow_wrap_ref.html

View file

@ -0,0 +1,11 @@
<style>
div {
overflow:hidden;
display:inline-block;
position:relative;
width:100px;
height:100px;
background:red
}
</style>
<div></div>

View file

@ -0,0 +1,9 @@
<style>
div {
position:relative;
width:100px;
height:100px;
background:red
}
</style>
<div></div>