blob: 83204223f90175fc9778019ed4d169e6a23204df [file] [log] [blame]
<!DOCTYPE html>
<p>Bug 104855: Block level pseudo elements bleed background color to &lt;html&gt;</p>
<p>Neither frame should be red.</p>
<iframe srcdoc='
<style>
html:before {
content: "";
display: block;
background: red;
}
</style>
'></iframe>
<iframe srcdoc='
<style>
html:after {
content: "";
display: block;
background: red;
}
</style>
'></iframe>