26 lines
479 B
HTML
26 lines
479 B
HTML
<!DOCTYPE html>
|
|
|
|
<p>Bug 104855: Block level pseudo elements bleed background color to <html></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>
|