mirror of
https://github.com/servo/servo.git
synced 2025-07-28 01:30:32 +01:00
layout: Remove some bogus code that tried to handle
absolutely-positioned flows separately when storing overflow. This code dates back to the time when absolutely positioned flows were ignored by all of their ancestors up to the containing block. This hasn't been true for at least a year. Closes #9306. Closes #9309. Is a partial fix for #9308.
This commit is contained in:
parent
842ec7c415
commit
9c7b9fa32d
5 changed files with 75 additions and 10 deletions
18
tests/html/overflow-bug-0.html
Normal file
18
tests/html/overflow-bug-0.html
Normal file
|
@ -0,0 +1,18 @@
|
|||
<!DOCTYPE html>
|
||||
<!-- https://github.com/servo/servo/issues/9306 -->
|
||||
<style>
|
||||
body {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.green {
|
||||
background: #0F0;
|
||||
height: 40px;
|
||||
width: 600px;
|
||||
margin-left: -300px;
|
||||
}
|
||||
</style>
|
||||
|
||||
<div class="green">
|
||||
</div>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue