mirror of
https://github.com/servo/servo.git
synced 2025-10-02 17:49:16 +01:00
Auto merge of #9841 - glennw:extra-overflow, r=pcwalton
Fix unexpected overflow with overflow: hidden set. Fixes #9719. <!-- Reviewable:start --> [<img src="https://reviewable.io/review_button.svg" height="40" alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/9841) <!-- Reviewable:end -->
This commit is contained in:
commit
3ff5082798
2 changed files with 40 additions and 1 deletions
7
tests/html/overflow-hidden.html
Normal file
7
tests/html/overflow-hidden.html
Normal file
|
@ -0,0 +1,7 @@
|
|||
<div style="position: absolute; left: 0px; bottom: 0px; width: 100%; height: 48px; overflow: hidden; background: red;">
|
||||
<!-- vertical overflow -->
|
||||
<span style="display: inline-block; height: 32px; width: 32px; margin: 20px;"></span>
|
||||
<!-- horizontal overflow -->
|
||||
<div style="width: 40px; height: 40px; position: absolute; right: -40px;"></div>
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue