Bug 26646

Summary: Strange parsing error
Product: WebKit Reporter: Amedeo Mantica <amedeomantica>
Component: Web Inspector (Deprecated)Assignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Major CC: ap
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Mac   
OS: OS X 10.5   
URL: https://www.confindustria.chieti.it/cgi-bin/WebObjects/confindustria.woa/1/wa/listaArticoli
Attachments:
Description Flags
screenshot none

Amedeo Mantica
Reported 2009-06-23 02:21:09 PDT
Inspector reports false errors like: <meta> is not allowed inside <body>. Moving <meta> into the <head>. Unmatched </head> encountered. Ignoring tag. Extra <body> encountered. Migrating attributes back to the original <body> element and ignoring the tag. They are false, there are no metas outsides head, nor extra bodys. Regards
Attachments
screenshot (346.25 KB, image/jpeg)
2009-06-23 02:24 PDT, Amedeo Mantica
no flags
Amedeo Mantica
Comment 1 2009-06-23 02:24:37 PDT
Created attachment 31716 [details] screenshot
Alexey Proskuryakov
Comment 2 2009-06-24 00:53:49 PDT
The errors are valid - the body is opened implicitly when a script calls document.write, writing content that is not allowed in head. Specifically, it's calendar.js that creates a table in body, even though it is loaded from head.
Amedeo Mantica
Comment 3 2009-06-24 03:10:41 PDT
Thanks. I'll forward the problem to the project wonder team and calendar.js creator so they can fix.
Note You need to log in before you can comment on or make changes to this bug.