[imps] <div></form>

Thomas Broyer t.broyer at gmail.com
Wed Apr 2 10:49:29 PDT 2008


On Wed, Apr 2, 2008 at 6:18 PM, Henri Sivonen wrote:
> Data:
> <!doctype html><form><div></form><div>
> Expected:
> | <!DOCTYPE html>
> | <html>
> |   <head>
> |   <body>
> |     <form>
> |       <div>
> |         <div>
> Got:
> | <!DOCTYPE html>
> | <html>
> |   <head>
> |   <body>
> |     <form>
> |       <div>
> |     <div>
> Expected errors:
> Line: 1 Col: 33 End tag (form) seen too early. Ignored.
> Line: 1 Col: 38 Expected closing tag. Unexpected end of file.
> Actual errors:
> 33: End tag "form" seen but there were unclosed elements.
> 39: End of file seen and there were open elements.
>
> Can someone, please, explain to me, we the test case ignores the </
> form> tag?

Because it hasn't been updated and the spec changed since it has been written ?
It might be this one (judging from the commit log)
http://html5.org/tools/web-apps-tracker?from=1319&to=1320

Instead of fixing tests from html5lib's repository, I suggest removing
them and contributing new tests in html5's repository
http://html5.googlecode.com/svn/trunk/tests/

-- 
Thomas Broyer



More information about the Implementors mailing list