mirror of
https://github.com/servo/servo.git
synced 2025-06-18 13:24:29 +00:00
Currently pseudo-elements, like the fragments created for ::before and ::after, with layers will have the same LayerId as the body of their owning fragments. Instead all LayerIds should be unique. Fixes #2010.
18 lines
378 B
HTML
18 lines
378 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<body>
|
|
<style>
|
|
div {
|
|
position: absolute;
|
|
width: 100px;
|
|
height: 100px;
|
|
background: green;
|
|
border-right: 10px blue solid;
|
|
border-bottom: 10px blue solid;
|
|
}
|
|
</style>
|
|
|
|
<div> </div>
|
|
<div style="left: 150px;"> </div>
|
|
</body>
|
|
</html>
|