summaryrefslogtreecommitdiff
path: root/test/data/tree-construction/after-after-frameset.dat
blob: e29b5856d7149cd5887ab4de55fef29ef1ed6a02 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
#data
<!DOCTYPE html><html><frameset></frameset></html><!--x-->
#errors
#comments
Tests comments in "after after frameset" get appended to the Document object.
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>
| <!-- x -->

#data
<!DOCTYPE html><html><frameset></frameset></html><!DOCTYPE foo>
#errors
Unexpected DOCTYPE: <!DOCTYPE foo>
#comments
This tests DOCTYPE ignorance in "after after frameset".
This handling should be identical to "in body".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

#data
<!DOCTYPE html><html><frameset></frameset></html>

#errors
#comments
This tests that whitespace in "after after" frameset is appended to the current
node, which in "after after frameset" is always the "html" element.
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>
|   "
"

#data
<!DOCTYPE html><frameset></frameset></html><html>
#errors
Second <html> tag not allowed.
#comments
This tests that no new "html" tag is added to the document.
This handling should be identical to "in body".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

#data
<!DOCTYPE html><frameset></frameset></html><html bgcolor="red">
#errors
Second <html> tag not allowed.
#comments
This tests that the attributes on <html> tags in "after after frameset" are added
to the top element on the stack of open elements (e.g. the root <html> tag.)
This handling should be identical to "in body".
#document
| <!DOCTYPE html>
| <html>
|   bgcolor="red"
|   <head>
|   <frameset>

#data
<!DOCTYPE html><html><frameset></frameset></html>
#errors
#comments
Test EOF in "after after frameset".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

#data
<!DOCTYPE html><html><frameset></frameset></html>xx
#errors
Text after </html> tag.
Text in frameset.
#comments
Test non-space character in "after after frameset".
This handling should be identical to "in frameset".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

#data
<!DOCTYPE html><html><frameset></frameset></html><table>
#errors
Tag after </html>.
<table> not allowed in <frameset>.
#comments
Test non-html start tag in "after after frameset".
This handling should be identical to "in frameset".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>

#data
<!DOCTYPE html><html><frameset></frameset></html></frameset>
#errors
End tag after </html>.
</frameset> when the current node is the root "html" element.
#comments
Test non-html start tag in "after after frameset".
This handling should be identical to "in frameset".
#document
| <!DOCTYPE html>
| <html>
|   <head>
|   <frameset>