layout: Make content of display: inline-block; overflow: hidden visible.

This commit is contained in:
Patrick Walton 2014-10-06 18:03:54 -07:00
parent c87f34f877
commit 2b0e59725b
6 changed files with 34 additions and 14 deletions

View file

@ -170,3 +170,4 @@ fragment=top != ../html/acid2.html acid2_ref.html
== pre_ignorable_whitespace_a.html pre_ignorable_whitespace_ref.html
== many_brs_a.html many_brs_ref.html
== box_sizing_sanity_check_a.html box_sizing_sanity_check_ref.html
== inline_block_overflow_hidden_a.html inline_block_overflow_hidden_ref.html

View file

@ -0,0 +1,7 @@
<!DOCTYPE html>
<html>
<body>
<div style="display: inline-block; overflow: hidden">This should be visible</div>
</body>
</html>

View file

@ -0,0 +1,8 @@
<!DOCTYPE html>
<html>
<body>
<div style="display: inline-block">This should be visible</div>
</body>
</html>