PageRenderTime 23ms CodeModel.GetById 11ms app.highlight 5ms RepoModel.GetById 1ms app.codeStats 1ms

/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests26.dat

http://github.com/zpao/v8monkey
Unknown | 313 lines | 298 code | 15 blank | 0 comment | 0 complexity | db55ea2f968dc4e28989a07ce901d1e1 MD5 | raw file
  1#data
  2<!DOCTYPE html><body><a href='#1'><nobr>1<nobr></a><br><a href='#2'><nobr>2<nobr></a><br><a href='#3'><nobr>3<nobr></a>
  3#errors
  4#document
  5| <!DOCTYPE html>
  6| <html>
  7|   <head>
  8|   <body>
  9|     <a>
 10|       href="#1"
 11|       <nobr>
 12|         "1"
 13|       <nobr>
 14|     <nobr>
 15|       <br>
 16|       <a>
 17|         href="#2"
 18|     <a>
 19|       href="#2"
 20|       <nobr>
 21|         "2"
 22|       <nobr>
 23|     <nobr>
 24|       <br>
 25|       <a>
 26|         href="#3"
 27|     <a>
 28|       href="#3"
 29|       <nobr>
 30|         "3"
 31|       <nobr>
 32
 33#data
 34<!DOCTYPE html><body><b><nobr>1<nobr></b><i><nobr>2<nobr></i>3
 35#errors
 36#document
 37| <!DOCTYPE html>
 38| <html>
 39|   <head>
 40|   <body>
 41|     <b>
 42|       <nobr>
 43|         "1"
 44|       <nobr>
 45|     <nobr>
 46|       <i>
 47|     <i>
 48|       <nobr>
 49|         "2"
 50|       <nobr>
 51|     <nobr>
 52|       "3"
 53
 54#data
 55<!DOCTYPE html><body><b><nobr>1<table><nobr></b><i><nobr>2<nobr></i>3
 56#errors
 57#document
 58| <!DOCTYPE html>
 59| <html>
 60|   <head>
 61|   <body>
 62|     <b>
 63|       <nobr>
 64|         "1"
 65|         <nobr>
 66|           <i>
 67|         <i>
 68|           <nobr>
 69|             "2"
 70|           <nobr>
 71|         <nobr>
 72|           "3"
 73|         <table>
 74
 75#data
 76<!DOCTYPE html><body><b><nobr>1<table><tr><td><nobr></b><i><nobr>2<nobr></i>3
 77#errors
 78#document
 79| <!DOCTYPE html>
 80| <html>
 81|   <head>
 82|   <body>
 83|     <b>
 84|       <nobr>
 85|         "1"
 86|         <table>
 87|           <tbody>
 88|             <tr>
 89|               <td>
 90|                 <nobr>
 91|                   <i>
 92|                 <i>
 93|                   <nobr>
 94|                     "2"
 95|                   <nobr>
 96|                 <nobr>
 97|                   "3"
 98
 99#data
100<!DOCTYPE html><body><b><nobr>1<div><nobr></b><i><nobr>2<nobr></i>3
101#errors
102#document
103| <!DOCTYPE html>
104| <html>
105|   <head>
106|   <body>
107|     <b>
108|       <nobr>
109|         "1"
110|     <div>
111|       <b>
112|         <nobr>
113|         <nobr>
114|       <nobr>
115|         <i>
116|       <i>
117|         <nobr>
118|           "2"
119|         <nobr>
120|       <nobr>
121|         "3"
122
123#data
124<!DOCTYPE html><body><b><nobr>1<nobr></b><div><i><nobr>2<nobr></i>3
125#errors
126#document
127| <!DOCTYPE html>
128| <html>
129|   <head>
130|   <body>
131|     <b>
132|       <nobr>
133|         "1"
134|       <nobr>
135|     <div>
136|       <nobr>
137|         <i>
138|       <i>
139|         <nobr>
140|           "2"
141|         <nobr>
142|       <nobr>
143|         "3"
144
145#data
146<!DOCTYPE html><body><b><nobr>1<nobr><ins></b><i><nobr>
147#errors
148#document
149| <!DOCTYPE html>
150| <html>
151|   <head>
152|   <body>
153|     <b>
154|       <nobr>
155|         "1"
156|       <nobr>
157|         <ins>
158|     <nobr>
159|       <i>
160|     <i>
161|       <nobr>
162
163#data
164<!DOCTYPE html><body><b><nobr>1<ins><nobr></b><i>2
165#errors
166#document
167| <!DOCTYPE html>
168| <html>
169|   <head>
170|   <body>
171|     <b>
172|       <nobr>
173|         "1"
174|         <ins>
175|       <nobr>
176|     <nobr>
177|       <i>
178|         "2"
179
180#data
181<!DOCTYPE html><body><b>1<nobr></b><i><nobr>2</i>
182#errors
183#document
184| <!DOCTYPE html>
185| <html>
186|   <head>
187|   <body>
188|     <b>
189|       "1"
190|       <nobr>
191|     <nobr>
192|       <i>
193|     <i>
194|       <nobr>
195|         "2"
196
197#data
198<p><code x</code></p>
199
200#errors
201#document
202| <html>
203|   <head>
204|   <body>
205|     <p>
206|       <code>
207|         code=""
208|         x<=""
209|     <code>
210|       code=""
211|       x<=""
212|       "
213"
214
215#data
216<!DOCTYPE html><svg><foreignObject><p><i></p>a
217#errors
21845: End tag “p” seen, but there were open elements.
21941: Unclosed element “i”.
22046: End of file seen and there were open elements.
22135: Unclosed element “foreignObject”.
22220: Unclosed element “svg”.
223#document
224| <!DOCTYPE html>
225| <html>
226|   <head>
227|   <body>
228|     <svg svg>
229|       <svg foreignObject>
230|         <p>
231|           <i>
232|         <i>
233|           "a"
234
235#data
236<!DOCTYPE html><table><tr><td><svg><foreignObject><p><i></p>a
237#errors
23856: End tag “p” seen, but there were open elements.
23952: Unclosed element “i”.
24057: End of file seen and there were open elements.
24146: Unclosed element “foreignObject”.
24231: Unclosed element “svg”.
24322: Unclosed element “table”.
244#document
245| <!DOCTYPE html>
246| <html>
247|   <head>
248|   <body>
249|     <table>
250|       <tbody>
251|         <tr>
252|           <td>
253|             <svg svg>
254|               <svg foreignObject>
255|                 <p>
256|                   <i>
257|                 <i>
258|                   "a"
259
260#data
261<!DOCTYPE html><math><mtext><p><i></p>a
262#errors
26338: End tag “p” seen, but there were open elements.
26434: Unclosed element “i”.
26539: End of file in a foreign namespace context.
266#document
267| <!DOCTYPE html>
268| <html>
269|   <head>
270|   <body>
271|     <math math>
272|       <math mtext>
273|         <p>
274|           <i>
275|         <i>
276|           "a"
277
278#data
279<!DOCTYPE html><table><tr><td><math><mtext><p><i></p>a
280#errors
28153: End tag “p” seen, but there were open elements.
28249: Unclosed element “i”.
28354: End of file in a foreign namespace context.
284#document
285| <!DOCTYPE html>
286| <html>
287|   <head>
288|   <body>
289|     <table>
290|       <tbody>
291|         <tr>
292|           <td>
293|             <math math>
294|               <math mtext>
295|                 <p>
296|                   <i>
297|                 <i>
298|                   "a"
299
300#data
301<!DOCTYPE html><body><div><!/div>a
302#errors
30329: Bogus comment.
30434: End of file seen and there were open elements.
30526: Unclosed element “div”.
306#document
307| <!DOCTYPE html>
308| <html>
309|   <head>
310|   <body>
311|     <div>
312|       <!-- /div -->
313|       "a"