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 |       "
173 "
174 |       <img>
175 |         alt="Image"
176 |         height="100"
177 |         style="background-color: green;"
178 |         width="100"
179 |       "
180 "
181 |     <font>
182 |       "
183 "
184 |     <font>
185 |       "
186 "
187 |     <table>
188 |       "
189   "
190 |       <tbody>
191 |         <tr>
192 |           <td>
193 |             "
194 "
195
196 #data
197 <table><tr><p><a><p>You should see this text.
198 #errors
199 #document
200 | <html>
201 |   <head>
202 |   <body>
203 |     <p>
204 |       <a>
205 |     <p>
206 |       <a>
207 |         "You should see this text."
208 |     <table>
209 |       <tbody>
210 |         <tr>
211
212 #data
213 <TABLE>
214 <TR>
215 <CENTER><CENTER><TD></TD></TR><TR>
216 <FONT>
217 <TABLE><tr></tr></TABLE>
218 </P>
219 <a></font><font></a>
220 This page contains an insanely badly-nested tag sequence.
221 #errors
222 #document
223 | <html>
224 |   <head>
225 |   <body>
226 |     <center>
227 |       <center>
228 |     <font>
229 |       "
230 "
231 |     <table>
232 |       "
233 "
234 |       <tbody>
235 |         <tr>
236 |           "
237 "
238 |           <td>
239 |         <tr>
240 |           "
241 "
242 |     <table>
243 |       <tbody>
244 |         <tr>
245 |     <font>
246 |       "
247 "
248 |       <p>
249 |       "
250 "
251 |       <a>
252 |     <a>
253 |       <font>
254 |     <font>
255 |       "
256 This page contains an insanely badly-nested tag sequence."
257
258 #data
259 <html>
260 <body>
261 <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
262 nobr should have closed the div inside it implicitly. </b><pre>A pre tag outside everything else.</pre>
263 </body>
264 </html>
265 #errors
266 #document
267 | <html>
268 |   <head>
269 |   <body>
270 |     "
271 "
272 |     <b>
273 |       <nobr>
274 |     <div>
275 |       <b>
276 |         <nobr>
277 |           "This text is in a div inside a nobr"
278 |         "More text that should not be in the nobr, i.e., the
279 nobr should have closed the div inside it implicitly. "
280 |       <pre>
281 |         "A pre tag outside everything else."
282 |       "
283
284 "