Bug 26646 - Strange parsing error
Summary: Strange parsing error
Status: RESOLVED INVALID
Alias: None
Product: WebKit
Classification: Unclassified
Component: Web Inspector (Deprecated) (show other bugs)
Version: 528+ (Nightly build)
Hardware: Mac OS X 10.5
: P2 Major
Assignee: Nobody
URL: https://www.confindustria.chieti.it/c...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-06-23 02:21 PDT by Amedeo Mantica
Modified: 2009-06-24 03:10 PDT (History)
1 user (show)

See Also:


Attachments
screenshot (346.25 KB, image/jpeg)
2009-06-23 02:24 PDT, Amedeo Mantica
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Amedeo Mantica 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
Comment 1 Amedeo Mantica 2009-06-23 02:24:37 PDT
Created attachment 31716 [details]
screenshot
Comment 2 Alexey Proskuryakov 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.
Comment 3 Amedeo Mantica 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.