mirror of
https://github.com/servo/servo.git
synced 2025-08-11 08:25:32 +01:00
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:
commit
9e914ca0db
7 changed files with 72 additions and 6 deletions
|
@ -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
|
||||
|
|
11
tests/ref/overflow_position_rel_inline_block.html
Normal file
11
tests/ref/overflow_position_rel_inline_block.html
Normal file
|
@ -0,0 +1,11 @@
|
|||
<style>
|
||||
div {
|
||||
overflow:hidden;
|
||||
display:inline-block;
|
||||
position:relative;
|
||||
width:100px;
|
||||
height:100px;
|
||||
background:red
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
9
tests/ref/overflow_position_rel_inline_block_ref.html
Normal file
9
tests/ref/overflow_position_rel_inline_block_ref.html
Normal file
|
@ -0,0 +1,9 @@
|
|||
<style>
|
||||
div {
|
||||
position:relative;
|
||||
width:100px;
|
||||
height:100px;
|
||||
background:red
|
||||
}
|
||||
</style>
|
||||
<div></div>
|
Loading…
Add table
Add a link
Reference in a new issue