Skip to content

Commit db2438a

Browse files
committed
Test reconstruction of active formatting elements in an HTML integration point.
1 parent 9e1a634 commit db2438a

File tree

1 file changed

+45
-0
lines changed

1 file changed

+45
-0
lines changed

tree-construction/tests26.dat

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -211,3 +211,48 @@
211211
| x<=""
212212
| "
213213
"
214+
215+
#data
216+
<!DOCTYPE html><svg><foreignObject><p><i></p>a
217+
#errors
218+
45: End tag “p” seen, but there were open elements.
219+
41: Unclosed element “i”.
220+
46: End of file seen and there were open elements.
221+
35: Unclosed element “foreignObject”.
222+
20: 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
238+
56: End tag “p” seen, but there were open elements.
239+
52: Unclosed element “i”.
240+
57: End of file seen and there were open elements.
241+
46: Unclosed element “foreignObject”.
242+
31: Unclosed element “svg”.
243+
22: 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"

0 commit comments

Comments
 (0)