Migrate issue related test files into named files.

This commit is contained in:
Tom Anthony
2019-04-18 19:15:23 +01:00
parent 9816ca144d
commit bd62157cd7
3 changed files with 15 additions and 28 deletions

View File

@@ -1692,9 +1692,8 @@ func inCellIM(p *parser) bool {
return true
}
// Close the cell and reprocess.
if p.popUntil(tableScope, a.Td, a.Th) {
p.clearActiveFormattingElements()
}
p.popUntil(tableScope, a.Td, a.Th)
p.clearActiveFormattingElements()
p.im = inRowIM
return false
}
@@ -2330,4 +2329,4 @@ func ParseFragment(r io.Reader, context *Node) ([]*Node, error) {
c = next
}
return result, nil
}
}

View File

@@ -1,24 +0,0 @@
#data
<html><head></head><body><tag1><tag2 /><p></p></tag1><div></div></body></html>
#errors
#document
| <html>
| <head>
| <body>
| <tag1>
| <tag2>
| <p>
| <div>
#data
<table><math><th><mo><select></table>
#errors
#document
| <html>
| <head>
| <body>
| <math math>
| <math th>
| <math mo>
| <select>
| <table>

View File

@@ -60,3 +60,15 @@
| <math template>
| <math mn>
| <b>
#data
<html><head></head><body><tag1><tag2 /><p></p></tag1><div></div></body></html>
#errors
#document
| <html>
| <head>
| <body>
| <tag1>
| <tag2>
| <p>
| <div>