2010-07-20 Adam Barth <abarth@webkit.org>
[WebKit-https.git] / LayoutTests / html5lib / resources / tricky01.dat
1 #data
2 <b><p>Bold </b> Not bold</p>
3 Also not bold.
4 #errors
5 #document
6 | <html>
7 |   <head>
8 |   <body>
9 |     <b>
10 |     <p>
11 |       <b>
12 |         "Bold "
13 |       " Not bold"
14 |     "
15 Also not bold."
16
17 #data
18 <html>
19 <font color=red><i>Italic and Red<p>Italic and Red </font> Just italic.</p> Italic only.</i> Plain
20 <p>I should not be red. <font color=red>Red. <i>Italic and red.</p>
21 <p>Italic and red. </i> Red.</font> I should not be red.</p>
22 <b>Bold <i>Bold and italic</b> Only Italic </i> Plain
23 #errors
24 #document
25 | <html>
26 |   <head>
27 |   <body>
28 |     <font>
29 |       color="red"
30 |       <i>
31 |         "Italic and Red"
32 |     <i>
33 |       <p>
34 |         <font>
35 |           color="red"
36 |           "Italic and Red "
37 |         " Just italic."
38 |       " Italic only."
39 |     " Plain
40 "
41 |     <p>
42 |       "I should not be red. "
43 |       <font>
44 |         color="red"
45 |         "Red. "
46 |         <i>
47 |           "Italic and red."
48 |     <font>
49 |       color="red"
50 |       <i>
51 |         "
52 "
53 |     <p>
54 |       <font>
55 |         color="red"
56 |         <i>
57 |           "Italic and red. "
58 |         " Red."
59 |       " I should not be red."
60 |     "
61 "
62 |     <b>
63 |       "Bold "
64 |       <i>
65 |         "Bold and italic"
66 |     <i>
67 |       " Only Italic "
68 |     " Plain"
69
70 #data
71 <html><body>
72 <p><font size="7">First paragraph.</p>
73 <p>Second paragraph.</p></font>
74 <b><p><i>Bold and Italic</b> Italic</p>
75 #errors
76 #document
77 | <html>
78 |   <head>
79 |   <body>
80 |     "
81 "
82 |     <p>
83 |       <font>
84 |         size="7"
85 |         "First paragraph."
86 |     <font>
87 |       size="7"
88 |       "
89 "
90 |       <p>
91 |         "Second paragraph."
92 |     "
93 "
94 |     <b>
95 |     <p>
96 |       <b>
97 |         <i>
98 |           "Bold and Italic"
99 |       <i>
100 |         " Italic"
101
102 #data
103 <html>
104 <dl>
105 <dt><b>Boo
106 <dd>Goo?
107 </dl>
108 </html>
109 #errors
110 #document
111 | <html>
112 |   <head>
113 |   <body>
114 |     <dl>
115 |       "
116 "
117 |       <dt>
118 |         <b>
119 |           "Boo
120 "
121 |       <dd>
122 |         <b>
123 |           "Goo?
124 "
125 |     <b>
126 |       "
127 "
128
129 #data
130 <html><body>
131 <label><a><div>Hello<div>World</div></a></label>  
132 </body></html>
133 #errors
134 #document
135 | <html>
136 |   <head>
137 |   <body>
138 |     "
139 "
140 |     <label>
141 |       <a>
142 |       <div>
143 |         <a>
144 |           "Hello"
145 |           <div>
146 |             "World"
147 |         "  
148 "
149
150 #data
151 <TABLE>
152   <CENTER>
153   <FONT>You should see a 100x100 green Image below.
154   </CENTER>
155 <IMG alt="Image" width=100 height=100 style="background-color:green">
156 <tr><td>
157 </td>
158 </tr>
159 </table>
160 #errors
161 #document
162 | <html>
163 |   <head>
164 |   <body>
165 |     <center>
166 |       "
167   "
168 |       <font>
169 |         "You should see a 100x100 green Image below.
170   "
171 |     <font>
172 |       <img>
173 |         alt="Image"
174 |         height="100"
175 |         style="background-color:green"
176 |         width="100"
177 |       "
178 "
179 |     <table>
180 |       "
181   
182 "
183 |       <tbody>
184 |         <tr>
185 |           <td>
186 |             "
187 "
188 |           "
189 "
190 |         "
191 "
192
193 #data
194 <table><tr><p><a><p>You should see this text.
195 #errors
196 #document
197 | <html>
198 |   <head>
199 |   <body>
200 |     <p>
201 |       <a>
202 |     <p>
203 |       <a>
204 |         "You should see this text."
205 |     <table>
206 |       <tbody>
207 |         <tr>
208
209 #data
210 <TABLE>
211 <TR>
212 <CENTER><CENTER><TD></TD></TR><TR>
213 <FONT>
214 <TABLE><tr></tr></TABLE>
215 </P>
216 <a></font><font></a>
217 This page contains an insanely badly-nested tag sequence.
218 #errors
219 #document
220 | <html>
221 |   <head>
222 |   <body>
223 |     <center>
224 |       <center>
225 |     <font>
226 |       "
227 "
228 |     <table>
229 |       "
230 "
231 |       <tbody>
232 |         <tr>
233 |           "
234 "
235 |           <td>
236 |         <tr>
237 |           "
238 "
239 |     <table>
240 |       <tbody>
241 |         <tr>
242 |     <font>
243 |       "
244 "
245 |       <p>
246 |       "
247 "
248 |       <a>
249 |     <a>
250 |       <font>
251 |     <font>
252 |       "
253 This page contains an insanely badly-nested tag sequence."
254
255 #data
256 <html>
257 <body>
258 <b><nobr><div>This text is in a div inside a nobr</nobr>More text that should not be in the nobr, i.e., the
259 nobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>
260 </body>
261 </html>
262 #errors
263 #document
264 | <html>
265 |   <head>
266 |   <body>
267 |     "
268 "
269 |     <b>
270 |       <nobr>
271 |     <div>
272 |       <b>
273 |         <nobr>
274 |           "This text is in a div inside a nobr"
275 |         "More text that should not be in the nobr, i.e., the
276 nobr should have closed the div inside it implicitly. "
277 |       <pre>
278 |         "A pre tag outside everything else."
279 |       "
280
281 "