You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
OK, it looks like the test does not specify appropriate errors. Gumbo parses this correctly (the tree is constructed properly) but emits errors. Here's the failing test output:
Minitest::Assertion: Expected 0 errors for <div><table><svg><foreignObject><select><table><s>, found:
1:1: ERROR: Expected a doctype token
<div><table><svg><foreignObject><select><table><s>
^
1:13: ERROR: That tag isn't allowed here Currently open tags: html, body, div, table.
<div><table><svg><foreignObject><select><table><s>
^
1:33: ERROR: That tag isn't allowed here Currently open tags: html, body, div, table, svg, foreignobject.
<div><table><svg><foreignObject><select><table><s>
^
1:41: ERROR: That tag isn't allowed here Currently open tags: html, body, div, table, svg, foreignobject, select.
<div><table><svg><foreignObject><select><table><s>
^
1:41: ERROR: That tag isn't allowed here Currently open tags: html, body, div, table, svg, foreignobject.
<div><table><svg><foreignObject><select><table><s>
^
1:48: ERROR: That tag isn't allowed here Currently open tags: html, body, div, table.
<div><table><svg><foreignObject><select><table><s>
^
1:51: ERROR: Premature end of file Currently open tags: html, body, div, table, s.
<div><table><svg><foreignObject><select><table><s>
^.
Expected: 0
Actual: 7
Yesterday a test was added upstream to resolve an open question about tree construction:
Gumbo is failing this test: https://github.com/sparklemotion/nokogiri/actions/runs/4822050310/jobs/8588763320
I should have time to work on this today.
The text was updated successfully, but these errors were encountered: