Actually store the overflow for inline-block elements.

Fixes #7571
This commit is contained in:
Michael Howell 2015-09-09 12:22:56 -07:00
parent 0d37e8f96b
commit 029af81570
7 changed files with 72 additions and 6 deletions

View file

@ -271,6 +271,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>