gecko-dev/htmlparser/tests/logparse/test0.bl
1998-08-23 20:21:58 +00:00

459 lines
14 KiB
Plaintext

<begin>
<open container="HTML">
<open container="TITLE">
<title value="Example 0"/>
<close container="head">
<open container="STYLE">
<leaf tag="STYLE">
<attr key="
a#id.foo:visited:first-line { color: red; }
a#id.foo:first-line { color: red; }
a#id.foo:visited { color: red; }
a#id:first-line { color: red; }
a#id:visited { color: red; }
a:first-line { color: red; }
a:visited { color: red; }
a:visited:first-line { color: red; }
a:visited:visited { color: red; }
a:first-line:visited { color: red; }
:active { color: blue; }
:first-letter { color: green; }
" value="</style>"/>
<content value="&#10; a#id.foo:visited:first-line { color: red; }&#10; a#id.foo:first-line { color: red; }&#10; a#id.foo:visited { color: red; }&#10; a#id:first-line { color: red; }&#10; a#id:visited { color: red; }&#10; a:first-line { color: red; }&#10; a:visited { color: red; }&#10; a:visited:first-line { color: red; }&#10; a:visited:visited { color: red; }&#10; a:first-line:visited { color: red; }&#10; :active { color: blue; }&#10; :first-letter { color: green; }&#10;"/>
</leaf>
<close container="head">
<open container="BODY">
<attr key="bgcolor" value="#FFFFFF"/>
</open>
<newline/>
<open container="H1">
<text value="Example 0: Basic HTML Text Styles"/>
<close container="H1">
<newline/>
<open container="P">
<leaf tag="BR"/>
<close container="P">
<newline/>
<open container="H2">
<text value="Formatted Text"/>
<close container="H2">
<newline/>
<open container="P">
<text value="This is a basic paragraph with "/>
<open container="B">
<text value="bold"/>
<close container="B">
<text value=", "/>
<open container="I">
<text value="italic"/>
<close container="I">
<text value=" "/>
<text value="and "/>
<open container="I">
<text value="bold-italic "/>
<newline/>
<text value=" "/>
<close container="I">
<text value=" "/>
<text value="text. It also includes "/>
<open container="FONT">
<attr key="color" value="#FF0000"/>
</open>
<text value="red"/>
<close container="FONT">
<text value=", "/>
<open container="FONT">
<attr key="color" value="#00FF00"/>
</open>
<text value="green"/>
<close container="FONT">
<text value=" "/>
<newline/>
<text value=" "/>
<text value="and "/>
<open container="FONT">
<attr key="color" value="#0000FF"/>
</open>
<text value="blue"/>
<close container="FONT">
<text value=" "/>
<text value="text. It has "/>
<open container="S">
<text value="strikethru"/>
<close container="S">
<text value=" "/>
<text value="and "/>
<open container="U">
<text value="underline"/>
<close container="U">
<text value=". "/>
<newline/>
<text value=" "/>
<open container="U">
<text value=" "/>
<close container="U">
<close container="P">
<newline/>
<open container="P">
<text value="This is a paragraph with font variations: "/>
<open container="B">
<open container="FONT">
<attr key="face" value="Arial, Helvetica, sans-serif"/>
</open>
<text value="Arial,"/>
<close container="FONT">
<close container="B">
<open container="FONT">
<attr key="face" value="Arial, Helvetica, sans-serif"/>
</open>
<text value=" "/>
<newline/>
<text value=" "/>
<open container="I">
<open container="FONT">
<attr key="face" value="Verdana, Arial, Helvetica, sans-serif"/>
</open>
<text value="Verdana"/>
<close container="FONT">
<text value=","/>
<close container="I">
<text value=" "/>
<open container="FONT">
<attr key="face" value="co"/>
</open>
<text value="COURIER, "/>
<newline/>
<text value=" "/>
<open container="FONT">
<attr key="face" value="Times New Roman, Times, serif"/>
</open>
<text value="Times New Roman."/>
<close container="FONT">
<close container="FONT">
<close container="FONT">
<close container="P">
<newline/>
<open container="P">
<open container="FONT">
<attr key="size" value="7"/>
</open>
<text value="Font size=7, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="6"/>
</open>
<text value="Font size=6, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="5"/>
</open>
<text value="Font "/>
<newline/>
<text value=" "/>
<text value="size=5, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="4"/>
</open>
<text value="Font size=4, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="3"/>
</open>
<text value="Font size=3, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="2"/>
</open>
<text value="Font "/>
<newline/>
<text value=" "/>
<text value="size=2, "/>
<close container="FONT">
<open container="FONT">
<attr key="size" value="1"/>
</open>
<text value="Font size=1, "/>
<close container="FONT">
<open container="FONT">
<attr key="point-size" value="24"/>
<attr key="font-weight" value="700"/>
</open>
<text value="Font "/>
<newline/>
<text value=" "/>
<text value="point-size=24 font-weight=700"/>
<close container="FONT">
<close container="P">
<newline/>
<open container="P">
<text value="3D Text. 3D Text. 3D Text. 3D Text. 3D Text. "/>
<leaf tag="BR"/>
<newline/>
<close container="P">
<open container="H2">
<leaf tag="BR"/>
<newline/>
<close container="H2">
<newline/>
<open container="H2">
<text value="Listings"/>
<close container="H2">
<newline/>
<open container="H3">
<text value="Bulleted List "/>
<close container="H3">
<newline/>
<open container="UL">
<newline/>
<text value=" "/>
<open container="LI">
<text value="One"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Two"/>
<newline/>
<text value=" "/>
<open container="UL">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Apples"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Oranges"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Bananas"/>
<close container="LI">
<newline/>
<text value=" "/>
<close container="UL">
<newline/>
<text value=" "/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Three"/>
<close container="LI">
<newline/>
<close container="UL">
<newline/>
<leaf tag="BR"/>
<newline/>
<open container="H3">
<text value="Numbered List "/>
<close container="H3">
<newline/>
<open container="OL">
<newline/>
<text value=" "/>
<open container="LI">
<text value="One"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Two "/>
<newline/>
<text value=" "/>
<open container="OL">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Apples"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Oranges"/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Bananas"/>
<close container="LI">
<newline/>
<text value=" "/>
<close container="OL">
<newline/>
<text value=" "/>
<close container="LI">
<newline/>
<text value=" "/>
<open container="LI">
<text value="Three"/>
<close container="LI">
<newline/>
<close container="OL">
<newline/>
<open container="H2">
<text value="Justified Text"/>
<close container="H2">
<newline/>
<open container="P">
<text value="This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". "/>
<newline/>
<text value=" "/>
<text value="This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". "/>
<newline/>
<text value=" "/>
<text value="This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". "/>
<newline/>
<text value=" "/>
<text value="This paragraph is aligned "/>
<open container="B">
<text value="left"/>
<close container="B">
<text value=". "/>
<close container="P">
<newline/>
<open container="P">
<attr key="align" value="RIGHT"/>
</open>
<text value="This paragarph is aligned "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="right. "/>
<close container="B">
<text value="This paragarph is aligned "/>
<open container="B">
<text value="right. "/>
<close container="B">
<open container="B">
<text value=" "/>
<close container="B">
<text value="This paragarph "/>
<newline/>
<text value=" "/>
<text value="is aligned "/>
<open container="B">
<text value="right. "/>
<close container="B">
<close container="P">
<newline/>
<open container="P">
<attr key="align" value="CENTER"/>
</open>
<text value="This paragraph is aligned "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=". This paragraph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value=".This paragraph is aligned "/>
<newline/>
<text value=" "/>
<open container="B">
<text value="center"/>
<close container="B">
<text value="."/>
<close container="P">
<newline/>
<open container="P">
<close container="P">
<newline/>
<open container="P">
<entity value="bs"/>
<close container="P">
<newline/>
<newline/>
<newline/>
<close container="body">
<close container="html">
</begin>