09:25
<bathos>
Got an HTML parsing question
09:26
<bathos>
given this input, assuming a fragment with a generic context element like <div>, what is the correct structure to parse?
09:26
<bathos>
`<li>a<li>b<ul><li>c<ol>d`
09:26
<bathos>
I expected it to be `<li>a</li><li>b<ul><li>c<ol>d</ol></li></ul></li>`
09:27
<bathos>
But both Chrome and FF give `<li>a</li><li>b<ul><li>c</li><ol>d</ol></ul></li>` (closing the "c" li when they hit <ol>)
09:27
<bathos>
I can’t find where that occurs in the "in body" insertion mode
09:29
<bathos>
it seems like the only thing the <ol> should close would be an open <p>
09:31
<bathos>
nm, I’m glad I’ve gotten into the habit of making a fool of myself in here rather than the github issues — copy & pasted the wrong input repeatedly. chrome and ff do give the res I expected
09:33
<bathos>
(should probably stop working on this and get back to black mirror, my head is goo)