gecko-dev/htmlparser/tests/logparse/test6.bl

832 строки
47 KiB
Plaintext

<begin>
<open container="HTML">
<open container="TITLE">
<title value="Test 6"/>
<close container="head">
<open container="STYLE">
<leaf tag="STYLE">
<attr key="
PRE { color:red; }
" value="</style>"/>
<content value="&#10;PRE { color:red; }&#10;"/>
</leaf>
<close container="head">
<open container="BODY">
<newline/>
<open container="H1">
<text value="Example 6: Table Stress Test"/>
<close container="H1">
<newline/>
<open container="PRE">
<text value="Resize document for maximum effect"/>
<close container="PRE">
<newline/>
<newline/>
<leaf tag="BR"/>
<newline/>
<open container="H2">
<text value="Auto-width tables with spans nested 8 levels deep"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="red"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="lightblue"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="lightgreen"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="orange"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="red"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="lightblue"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<open container="TABLE">
<attr key="border" value="1"/>
<attr key="bgcolor" value="lightgreen"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<attr key="COLSPAN" value="2"/>
<attr key="ROWSPAN" value="2"/>
</open>
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<open container="TD">
<text value=" "/>
<text value="Cell, and stuff to test out table cell layout. This should be long enough for testing."/>
<close container="TD">
<open container="TD">
<text value="Cell"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<leaf tag="BR"/>
<newline/>
<open container="H2">
<text value="100% width tables nested 6 levels deep"/>
<close container="H2">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="yellow"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="Cell one"/>
<close container="TD">
<open container="TD">
<text value="Cell2"/>
<close container="TD">
<open container="TD">
<text value="Cell 3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="Cell 4"/>
<close container="TD">
<open container="TD">
<text value="Cell 5"/>
<close container="TD">
<open container="TD">
<text value="Cell 6"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="lightgrey"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="1"/>
<close container="TD">
<open container="TD">
<text value="2"/>
<close container="TD">
<open container="TD">
<text value="3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="4"/>
<close container="TD">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="lightblue"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="1"/>
<close container="TD">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="red"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="1"/>
<close container="TD">
<open container="TD">
<text value="2"/>
<close container="TD">
<open container="TD">
<text value="3"/>
<close container="TD">
<open container="TD">
<text value="4"/>
<close container="TD">
<open container="TD">
<text value="5"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="6"/>
<close container="TD">
<open container="TD">
<text value="7"/>
<close container="TD">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="green"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="a"/>
<close container="TD">
<open container="TD">
<text value="b"/>
<close container="TD">
<open container="TD">
<text value="c"/>
<close container="TD">
<open container="TD">
<text value="d"/>
<close container="TD">
<open container="TD">
<text value="e"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="f"/>
<close container="TD">
<open container="TD">
<text value="g"/>
<close container="TD">
<open container="TD">
<text value="h"/>
<close container="TD">
<open container="TD">
<text value="i"/>
<close container="TD">
<open container="TD">
<text value="j"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="k"/>
<close container="TD">
<open container="TD">
<text value="l"/>
<close container="TD">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="purple"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="a"/>
<close container="TD">
<open container="TD">
<text value="b"/>
<close container="TD">
<open container="TD">
<text value="c"/>
<close container="TD">
<open container="TD">
<text value="d"/>
<close container="TD">
<open container="TD">
<text value="e"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="f"/>
<close container="TD">
<open container="TD">
<text value="g"/>
<close container="TD">
<open container="TD">
<text value="h"/>
<close container="TD">
<open container="TD">
<text value="i"/>
<close container="TD">
<open container="TD">
<text value="j"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="k"/>
<close container="TD">
<open container="TD">
<text value="l"/>
<close container="TD">
<open container="TD">
<newline/>
<open container="TABLE">
<attr key="BORDER" value=""/>
<attr key="WIDTH" value="100%"/>
<attr key="BGCOLOR" value="orange"/>
</open>
<open container="TBODY">
<open container="TR">
<open container="TD">
<text value="a"/>
<close container="TD">
<open container="TD">
<text value="b"/>
<close container="TD">
<open container="TD">
<text value="c"/>
<close container="TD">
<open container="TD">
<text value="d"/>
<close container="TD">
<open container="TD">
<text value="e"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="f"/>
<close container="TD">
<open container="TD">
<text value="g"/>
<close container="TD">
<open container="TD">
<text value="h"/>
<close container="TD">
<open container="TD">
<text value="i"/>
<close container="TD">
<open container="TD">
<text value="j"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="k"/>
<close container="TD">
<open container="TD">
<text value="l"/>
<close container="TD">
<open container="TD">
<text value="m"/>
<close container="TD">
<open container="TD">
<text value="n"/>
<close container="TD">
<open container="TD">
<text value="o"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="p"/>
<close container="TD">
<open container="TD">
<text value="q"/>
<close container="TD">
<open container="TD">
<text value="r"/>
<close container="TD">
<open container="TD">
<text value="s"/>
<close container="TD">
<open container="TD">
<text value="t"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="u"/>
<close container="TD">
<open container="TD">
<text value="v"/>
<close container="TD">
<open container="TD">
<text value="w"/>
<close container="TD">
<open container="TD">
<text value="x"/>
<close container="TD">
<open container="TD">
<text value="y"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="n"/>
<close container="TD">
<open container="TD">
<text value="o"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="p"/>
<close container="TD">
<open container="TD">
<text value="q"/>
<close container="TD">
<open container="TD">
<text value="r"/>
<close container="TD">
<open container="TD">
<text value="s"/>
<close container="TD">
<open container="TD">
<text value="t"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="u"/>
<close container="TD">
<open container="TD">
<text value="v"/>
<close container="TD">
<open container="TD">
<text value="w"/>
<close container="TD">
<open container="TD">
<text value="x"/>
<close container="TD">
<open container="TD">
<text value="y"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="n"/>
<close container="TD">
<open container="TD">
<text value="o"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="p"/>
<close container="TD">
<open container="TD">
<text value="q"/>
<close container="TD">
<open container="TD">
<text value="r"/>
<close container="TD">
<open container="TD">
<text value="s"/>
<close container="TD">
<open container="TD">
<text value="t"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="u"/>
<close container="TD">
<open container="TD">
<text value="v"/>
<close container="TD">
<open container="TD">
<text value="w"/>
<close container="TD">
<open container="TD">
<text value="x"/>
<close container="TD">
<open container="TD">
<text value="y"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="9"/>
<close container="TD">
<open container="TD">
<text value="0"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="a"/>
<close container="TD">
<open container="TD">
<text value="b"/>
<close container="TD">
<open container="TD">
<text value="c"/>
<close container="TD">
<open container="TD">
<text value="d"/>
<close container="TD">
<open container="TD">
<text value="e"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="f"/>
<close container="TD">
<open container="TD">
<text value="g"/>
<close container="TD">
<open container="TD">
<text value="h"/>
<close container="TD">
<open container="TD">
<text value="i"/>
<close container="TD">
<open container="TD">
<text value="j"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="k"/>
<close container="TD">
<open container="TD">
<text value="l"/>
<close container="TD">
<open container="TD">
<text value="m"/>
<close container="TD">
<open container="TD">
<text value="n"/>
<close container="TD">
<open container="TD">
<text value="o"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="3"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="4"/>
<close container="TD">
<open container="TD">
<text value="5"/>
<close container="TD">
<open container="TD">
<text value="6"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="7"/>
<close container="TD">
<open container="TD">
<text value="8"/>
<close container="TD">
<open container="TD">
<text value="9"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="6"/>
<close container="TD">
<close container="TR">
<open container="TR">
<open container="TD">
<text value="7"/>
<close container="TD">
<open container="TD">
<text value="8"/>
<close container="TD">
<open container="TD">
<text value="9"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<entity value="bs"/>
<close container="TD">
<open container="TD">
<text value="8"/>
<close container="TD">
<open container="TD">
<text value="9"/>
<close container="TD">
<close container="TR">
<close container="TBODY">
<close container="TABLE">
<newline/>
<newline/>
<newline/>
<newline/>
<newline/>
<close container="body">
<close container="html">
</begin>