mirror of
https://github.com/servo/servo.git
synced 2025-06-19 06:38:59 +01:00
layers in the fragment, so that it can be activated when we're forcing the creation of extra layers due to positioned descendants that themselves have layers. The newly failing tests were tests that accidentally passed due to incorrect stacking order. Closes #7281.
18 lines
201 B
HTML
18 lines
201 B
HTML
<!DOCTYPE html>
|
|
<style>
|
|
div {
|
|
width: 100px;
|
|
height: 100px;
|
|
position: absolute;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
#a {
|
|
background: green;
|
|
top: 0;
|
|
left: 0;
|
|
}
|
|
</style>
|
|
<div id=a></div>
|
|
|
|
|