1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/webkit02.dat Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,116 @@ 1.4 +#data 1.5 +<foo bar=qux/> 1.6 +#errors 1.7 +(1,14): expected-doctype-but-got-start-tag 1.8 +(1,14): expected-closing-tag-but-got-eof 1.9 +#document 1.10 +| <html> 1.11 +| <head> 1.12 +| <body> 1.13 +| <foo> 1.14 +| bar="qux/" 1.15 + 1.16 +#data 1.17 +<p id="status"><noscript><strong>A</strong></noscript><span>B</span></p> 1.18 +#errors 1.19 +(1,15): expected-doctype-but-got-start-tag 1.20 +#document 1.21 +| <html> 1.22 +| <head> 1.23 +| <body> 1.24 +| <p> 1.25 +| id="status" 1.26 +| <noscript> 1.27 +| "<strong>A</strong>" 1.28 +| <span> 1.29 +| "B" 1.30 + 1.31 +#data 1.32 +<div><sarcasm><div></div></sarcasm></div> 1.33 +#errors 1.34 +(1,5): expected-doctype-but-got-start-tag 1.35 +#document 1.36 +| <html> 1.37 +| <head> 1.38 +| <body> 1.39 +| <div> 1.40 +| <sarcasm> 1.41 +| <div> 1.42 + 1.43 +#data 1.44 +<html><body><img src="" border="0" alt="><div>A</div></body></html> 1.45 +#errors 1.46 +(1,6): expected-doctype-but-got-start-tag 1.47 +(1,67): eof-in-attribute-value-double-quote 1.48 +#document 1.49 +| <html> 1.50 +| <head> 1.51 +| <body> 1.52 + 1.53 +#data 1.54 +<table><td></tbody>A 1.55 +#errors 1.56 +(1,7): expected-doctype-but-got-start-tag 1.57 +(1,11): unexpected-cell-in-table-body 1.58 +(1,20): foster-parenting-character 1.59 +(1,20): eof-in-table 1.60 +#document 1.61 +| <html> 1.62 +| <head> 1.63 +| <body> 1.64 +| "A" 1.65 +| <table> 1.66 +| <tbody> 1.67 +| <tr> 1.68 +| <td> 1.69 + 1.70 +#data 1.71 +<table><td></thead>A 1.72 +#errors 1.73 +(1,7): expected-doctype-but-got-start-tag 1.74 +(1,11): unexpected-cell-in-table-body 1.75 +(1,19): XXX-undefined-error 1.76 +(1,20): expected-closing-tag-but-got-eof 1.77 +#document 1.78 +| <html> 1.79 +| <head> 1.80 +| <body> 1.81 +| <table> 1.82 +| <tbody> 1.83 +| <tr> 1.84 +| <td> 1.85 +| "A" 1.86 + 1.87 +#data 1.88 +<table><td></tfoot>A 1.89 +#errors 1.90 +(1,7): expected-doctype-but-got-start-tag 1.91 +(1,11): unexpected-cell-in-table-body 1.92 +(1,19): XXX-undefined-error 1.93 +(1,20): expected-closing-tag-but-got-eof 1.94 +#document 1.95 +| <html> 1.96 +| <head> 1.97 +| <body> 1.98 +| <table> 1.99 +| <tbody> 1.100 +| <tr> 1.101 +| <td> 1.102 +| "A" 1.103 + 1.104 +#data 1.105 +<table><thead><td></tbody>A 1.106 +#errors 1.107 +(1,7): expected-doctype-but-got-start-tag 1.108 +(1,18): unexpected-cell-in-table-body 1.109 +(1,26): XXX-undefined-error 1.110 +(1,27): expected-closing-tag-but-got-eof 1.111 +#document 1.112 +| <html> 1.113 +| <head> 1.114 +| <body> 1.115 +| <table> 1.116 +| <thead> 1.117 +| <tr> 1.118 +| <td> 1.119 +| "A"