gecko/parser/htmlparser/tests/html/24184.html

39 lines
816 B
HTML
Raw Normal View History

<HTML><HEAD>
<style type="text/css">
span:before { content: "<" attr(class) ">" }
span:after { content: "</" attr(class) ">" }
span.a {
font-size: 130%;
color: blue;
}
span.z {
padding-left: 50px;
display: block;
color: green;
}
</style>
</HEAD>
<BODY><FONT FACE="Arial"><!-- Deleting this font tag fixes the bug -->
<P>testcase 4</P><!-- Deleting this paragraph or adding a space
before or after this comment fixes the bug -->
<SPAN CLASS="z">[span class z]</SPAN><br>
<P><SPAN CLASS="a">[span class a]</SPAN></P>
<SPAN CLASS="z">[span class z]</SPAN><br>
<P><SPAN CLASS="a">[span class a]</SPAN></P>
<SPAN CLASS="z">[span class z]</SPAN><br>
<P><SPAN CLASS="a">[span class a]</SPAN></P>
<SPAN CLASS="z">[span class z]</SPAN>
<P><SPAN CLASS="a">[span class a]</SPAN></P>
</font></body></html>