RetroZilla/parser/htmlparser/tests/html/24184.html
2015-10-20 23:03:22 -04:00

39 lines
814 B
HTML

<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>