mirror of
https://github.com/servo/servo.git
synced 2025-08-06 14:10:11 +01:00
layout: Paint stacking contexts' overflow areas properly.
This was making `box-shadow` not show up in many cases, in particular, but the effects were not limited to that.
This commit is contained in:
parent
ba8cf6b0e6
commit
5ea2c6dcfd
30 changed files with 357 additions and 179 deletions
25
tests/ref/stacking_context_overflow_relative_outline_a.html
Normal file
25
tests/ref/stacking_context_overflow_relative_outline_a.html
Normal file
|
@ -0,0 +1,25 @@
|
|||
<!DOCTYPE html>
|
||||
<html>
|
||||
<style>
|
||||
section {
|
||||
position: absolute;
|
||||
top: 100px;
|
||||
left: 100px;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
h1 {
|
||||
position: relative;
|
||||
top: -50px;
|
||||
left: -50px;
|
||||
width: 200px;
|
||||
height: 200px;
|
||||
margin: 0;
|
||||
outline: solid 10px green;
|
||||
}
|
||||
</style>
|
||||
<body>
|
||||
<section><h1></h1></section>
|
||||
</body>
|
||||
</html>
|
||||
|
Loading…
Add table
Add a link
Reference in a new issue