Skip to content

Commit

Permalink
Move #script-off to the right location.
Browse files Browse the repository at this point in the history
  • Loading branch information
stevecheckoway authored and Ms2ger committed Aug 22, 2018
1 parent 515dc09 commit a1dcff0
Showing 1 changed file with 18 additions and 18 deletions.
36 changes: 18 additions & 18 deletions tree-construction/noscript01.dat
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
#data
<head><noscript><!doctype html><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 31 Unexpected DOCTYPE. Ignored.
#script-off
#document
| <html>
| <head>
Expand All @@ -13,10 +13,10 @@ Line: 1 Col: 31 Unexpected DOCTYPE. Ignored.

#data
<head><noscript><html class="foo"><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 34 html needs to be the first start tag.
#script-off
#document
| <html>
| class="foo"
Expand All @@ -27,9 +27,9 @@ Line: 1 Col: 34 html needs to be the first start tag.

#data
<head><noscript></noscript>
#script-off
#errors
(1,6): expected-doctype-but-got-tag
#script-off
#document
| <html>
| <head>
Expand All @@ -38,9 +38,9 @@ Line: 1 Col: 34 html needs to be the first start tag.

#data
<head><noscript> </noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -50,9 +50,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><!--foo--></noscript>
#script-off
#errors
(1,6): expected-doctype-but-got-tag
#script-off
#document
| <html>
| <head>
Expand All @@ -62,9 +62,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><basefont><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -75,9 +75,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><bgsound><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -88,9 +88,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><link><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -101,9 +101,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><meta><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -114,9 +114,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><noframes>XXX</noscript></noframes></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -127,9 +127,9 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript><style>XXX</style></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
#script-off
#document
| <html>
| <head>
Expand All @@ -140,12 +140,12 @@ Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.

#data
<head><noscript></br><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 21 Element br not allowed in a inhead-noscript context
Line: 1 Col: 21 Unexpected end tag (br). Treated as br element.
Line: 1 Col: 42 Unexpected end tag (noscript). Ignored.
#script-off
#document
| <html>
| <head>
Expand All @@ -156,10 +156,10 @@ Line: 1 Col: 42 Unexpected end tag (noscript). Ignored.

#data
<head><noscript><head class="foo"><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 34 Unexpected start tag (head).
#script-off
#document
| <html>
| <head>
Expand All @@ -169,10 +169,10 @@ Line: 1 Col: 34 Unexpected start tag (head).

#data
<head><noscript><noscript class="foo"><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 34 Unexpected start tag (noscript).
#script-off
#document
| <html>
| <head>
Expand All @@ -182,10 +182,10 @@ Line: 1 Col: 34 Unexpected start tag (noscript).

#data
<head><noscript></p><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 20 Unexpected end tag (p). Ignored.
#script-off
#document
| <html>
| <head>
Expand All @@ -195,11 +195,11 @@ Line: 1 Col: 20 Unexpected end tag (p). Ignored.

#data
<head><noscript><p><!--foo--></noscript>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 19 Element p not allowed in a inhead-noscript context
Line: 1 Col: 40 Unexpected end tag (noscript). Ignored.
#script-off
#document
| <html>
| <head>
Expand All @@ -210,12 +210,12 @@ Line: 1 Col: 40 Unexpected end tag (noscript). Ignored.

#data
<head><noscript>XXX<!--foo--></noscript></head>
#script-off
#errors
Line: 1 Col: 6 Unexpected start tag (head). Expected DOCTYPE.
Line: 1 Col: 19 Unexpected non-space character. Expected inhead-noscript content
Line: 1 Col: 30 Unexpected end tag (noscript). Ignored.
Line: 1 Col: 37 Unexpected end tag (head). Ignored.
#script-off
#document
| <html>
| <head>
Expand All @@ -226,10 +226,10 @@ Line: 1 Col: 37 Unexpected end tag (head). Ignored.

#data
<head><noscript>
#script-off
#errors
(1,6): expected-doctype-but-got-tag
(1,6): eof-in-head-noscript
#script-off
#document
| <html>
| <head>
Expand Down

0 comments on commit a1dcff0

Please sign in to comment.