servo/tests/ref/pseudo_content_with_layers_ref.html
Martin Robinson 1e6f797268 Ensure unique LayerIds for pseudo-elements
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.
2015-09-17 06:42:29 -07:00

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>