1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/parser/htmlparser/tests/mochitest/html5lib_tree_construction/tests17.dat Wed Dec 31 06:09:35 2014 +0100 1.3 @@ -0,0 +1,180 @@ 1.4 +#data 1.5 +<!doctype html><table><tbody><select><tr> 1.6 +#errors 1.7 +(1,37): unexpected-start-tag-implies-table-voodoo 1.8 +(1,41): unexpected-table-element-start-tag-in-select-in-table 1.9 +(1,41): eof-in-table 1.10 +#document 1.11 +| <!DOCTYPE html> 1.12 +| <html> 1.13 +| <head> 1.14 +| <body> 1.15 +| <select> 1.16 +| <table> 1.17 +| <tbody> 1.18 +| <tr> 1.19 + 1.20 +#data 1.21 +<!doctype html><table><tr><select><td> 1.22 +#errors 1.23 +(1,34): unexpected-start-tag-implies-table-voodoo 1.24 +(1,38): unexpected-table-element-start-tag-in-select-in-table 1.25 +(1,38): expected-closing-tag-but-got-eof 1.26 +#document 1.27 +| <!DOCTYPE html> 1.28 +| <html> 1.29 +| <head> 1.30 +| <body> 1.31 +| <select> 1.32 +| <table> 1.33 +| <tbody> 1.34 +| <tr> 1.35 +| <td> 1.36 + 1.37 +#data 1.38 +<!doctype html><table><tr><td><select><td> 1.39 +#errors 1.40 +(1,42): unexpected-table-element-start-tag-in-select-in-table 1.41 +(1,42): expected-closing-tag-but-got-eof 1.42 +#document 1.43 +| <!DOCTYPE html> 1.44 +| <html> 1.45 +| <head> 1.46 +| <body> 1.47 +| <table> 1.48 +| <tbody> 1.49 +| <tr> 1.50 +| <td> 1.51 +| <select> 1.52 +| <td> 1.53 + 1.54 +#data 1.55 +<!doctype html><table><tr><th><select><td> 1.56 +#errors 1.57 +(1,42): unexpected-table-element-start-tag-in-select-in-table 1.58 +(1,42): expected-closing-tag-but-got-eof 1.59 +#document 1.60 +| <!DOCTYPE html> 1.61 +| <html> 1.62 +| <head> 1.63 +| <body> 1.64 +| <table> 1.65 +| <tbody> 1.66 +| <tr> 1.67 +| <th> 1.68 +| <select> 1.69 +| <td> 1.70 + 1.71 +#data 1.72 +<!doctype html><table><caption><select><tr> 1.73 +#errors 1.74 +(1,43): unexpected-table-element-start-tag-in-select-in-table 1.75 +(1,43): XXX-undefined-error 1.76 +(1,43): eof-in-table 1.77 +#document 1.78 +| <!DOCTYPE html> 1.79 +| <html> 1.80 +| <head> 1.81 +| <body> 1.82 +| <table> 1.83 +| <caption> 1.84 +| <select> 1.85 +| <tbody> 1.86 +| <tr> 1.87 + 1.88 +#data 1.89 +<!doctype html><select><tr> 1.90 +#errors 1.91 +(1,27): unexpected-start-tag-in-select 1.92 +(1,27): eof-in-select 1.93 +#document 1.94 +| <!DOCTYPE html> 1.95 +| <html> 1.96 +| <head> 1.97 +| <body> 1.98 +| <select> 1.99 + 1.100 +#data 1.101 +<!doctype html><select><td> 1.102 +#errors 1.103 +(1,27): unexpected-start-tag-in-select 1.104 +(1,27): eof-in-select 1.105 +#document 1.106 +| <!DOCTYPE html> 1.107 +| <html> 1.108 +| <head> 1.109 +| <body> 1.110 +| <select> 1.111 + 1.112 +#data 1.113 +<!doctype html><select><th> 1.114 +#errors 1.115 +(1,27): unexpected-start-tag-in-select 1.116 +(1,27): eof-in-select 1.117 +#document 1.118 +| <!DOCTYPE html> 1.119 +| <html> 1.120 +| <head> 1.121 +| <body> 1.122 +| <select> 1.123 + 1.124 +#data 1.125 +<!doctype html><select><tbody> 1.126 +#errors 1.127 +(1,30): unexpected-start-tag-in-select 1.128 +(1,30): eof-in-select 1.129 +#document 1.130 +| <!DOCTYPE html> 1.131 +| <html> 1.132 +| <head> 1.133 +| <body> 1.134 +| <select> 1.135 + 1.136 +#data 1.137 +<!doctype html><select><thead> 1.138 +#errors 1.139 +(1,30): unexpected-start-tag-in-select 1.140 +(1,30): eof-in-select 1.141 +#document 1.142 +| <!DOCTYPE html> 1.143 +| <html> 1.144 +| <head> 1.145 +| <body> 1.146 +| <select> 1.147 + 1.148 +#data 1.149 +<!doctype html><select><tfoot> 1.150 +#errors 1.151 +(1,30): unexpected-start-tag-in-select 1.152 +(1,30): eof-in-select 1.153 +#document 1.154 +| <!DOCTYPE html> 1.155 +| <html> 1.156 +| <head> 1.157 +| <body> 1.158 +| <select> 1.159 + 1.160 +#data 1.161 +<!doctype html><select><caption> 1.162 +#errors 1.163 +(1,32): unexpected-start-tag-in-select 1.164 +(1,32): eof-in-select 1.165 +#document 1.166 +| <!DOCTYPE html> 1.167 +| <html> 1.168 +| <head> 1.169 +| <body> 1.170 +| <select> 1.171 + 1.172 +#data 1.173 +<!doctype html><table><tr></table>a 1.174 +#errors 1.175 +#document 1.176 +| <!DOCTYPE html> 1.177 +| <html> 1.178 +| <head> 1.179 +| <body> 1.180 +| <table> 1.181 +| <tbody> 1.182 +| <tr> 1.183 +| "a"