[imps] <div></form>

Henri Sivonen hsivonen at iki.fi
Wed Apr 2 09:18:30 PDT 2008


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? <div> is not scoping per spec, so there is a <form> in  
scope to close.

-- 
Henri Sivonen
hsivonen at iki.fi
http://hsivonen.iki.fi/





More information about the Implementors mailing list