diff options
Diffstat (limited to '')
-rw-r--r-- | parser/htmlparser/tests/reftest/bug482921-2-ref.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/parser/htmlparser/tests/reftest/bug482921-2-ref.html b/parser/htmlparser/tests/reftest/bug482921-2-ref.html new file mode 100644 index 0000000000..d764c70bca --- /dev/null +++ b/parser/htmlparser/tests/reftest/bug482921-2-ref.html @@ -0,0 +1,28 @@ +<!DOCTYPE html><html><head><title></title><link rel="stylesheet" type="text/css" href="resource://content-accessible/viewsource.css"></head><body id="viewsource" class="wrap highlight"><pre id><span class="pi"><?xml version="1.0" encoding="utf-8"?></span> +<span id></span><span class="pi"><?foo bar?></span> +<span id></span><span><<span class="start-tag">html</span>></span> +<span id></span><span><<span class="start-tag">head</span>></span> +<span id></span><span><<span class="start-tag">title</span>></span><span>Title</span><span></<span class="end-tag">title</span>></span> +<span id></span><span><<span class="start-tag">script</span>></span> +<span id></span>var s = "<span><<span class="start-tag">script</span>></span><span>foo</span><span></<span class="end-tag">script</span>></span>"; +<span id></span><span class="comment"><!-- +<span id></span>var s = "<script>foo</script>"; +<span id></span>--></span> +<span id></span><span></<span class="end-tag">script</span>></span><span></span> +<span id></span><span><<span class="start-tag">style</span>></span> +<span id></span>/* <span><<span class="start-tag">foo</span><span>/</span>></span> */ +<span id></span><span></<span class="end-tag">style</span>></span> +<span id></span><span></<span class="end-tag">head</span>></span> +<span id></span><span><<span class="start-tag">body</span>></span> +<span id></span><span><<span class="start-tag">p</span>></span><span>Entity: <span class="entity"><span>&</span>amp; </span></span><span></<span class="end-tag">p</span>></span> +<span id></span><span><<span class="start-tag">iframe</span>></span><span></span><span><<span class="start-tag">img</span>></span><span></<span class="end-tag">iframe</span>></span> +<span id></span><span><<span class="start-tag">noscript</span>></span><span><<span class="start-tag">p</span>></span><span>Not para</span><span></<span class="end-tag">p</span>></span><span></<span class="end-tag">noscript</span>></span> +<span id></span><span><<span class="start-tag">svg</span>></span> +<span id></span><span><<span class="start-tag">title</span>></span><span></span><span class="cdata"><![CDATA[bar]]></span><span></span><span></<span class="end-tag">title</span>></span> +<span id></span><span><<span class="start-tag">script</span>></span><span></span><span class="comment"><!-- this is a comment --></span><span></span><span></<span class="end-tag">script</span>></span> +<span id></span><span></<span class="end-tag">svg</span>></span> +<span id></span><span></<span class="end-tag">body</span>></span> +<span id></span><span></<span class="end-tag">html</span>></span> +<span id></span> +</pre> +<!-- View source CSS matches the <pre id> and <span id> elements and produces line numbers. --> |