[Webkit-unassigned] [Bug 37834] New: Does not correctly parse OBJECT tags within HEAD
bugzilla-daemon at webkit.org
bugzilla-daemon at webkit.org
Mon Apr 19 17:41:16 PDT 2010
https://bugs.webkit.org/show_bug.cgi?id=37834
Summary: Does not correctly parse OBJECT tags within HEAD
Product: WebKit
Version: 528+ (Nightly build)
Platform: PC
OS/Version: Mac OS X 10.5
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: HTML DOM
AssignedTo: webkit-unassigned at lists.webkit.org
ReportedBy: roarkely at gmail.com
When an OBJECT is included as a child element to HTML / HEAD Webkit reports
the following error and migrates the OBJECT into the BODY. OBJECT is a valid
child of HEAD (http://www.w3.org/TR/xhtml1-schema/). This behavior is still
seen when declare="declare" in the OBJECT tag, and does not seem to matter what
value the type attribute is given.
INPUT HTML:
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<title>Test</title>
<object type="text/html" declare="declare">
<h1>Hello World</h1>
</object>
</head>
<body>
</body>
</html>
CONSOLE OUTPUT:
Unmatched </head> encountered. Ignoring tag.
Extra <body> encountered. Migrating attributes back to the original <body>
element and ignoring the tag.
--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
More information about the webkit-unassigned
mailing list