This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 6598 - ruby in head allowed
Summary: ruby in head allowed
Status: RESOLVED INVALID
Alias: None
Product: Validator
Classification: Unclassified
Component: check (show other bugs)
Version: 0.8.4
Hardware: PC All
: P2 normal
Target Milestone: 0.8.5
Assignee: This bug has no owner yet - up for the taking
QA Contact: qa-dev tracking
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-02-19 12:20 UTC by sander
Modified: 2009-09-15 21:13 UTC (History)
1 user (show)

See Also:


Attachments

Description sander 2009-02-19 12:20:01 UTC
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
<html xmlns= "http://www.w3.org/1999/xhtml"> 
<head>
<title></title>
<object>
<ruby>
<rb></rb><rt></rt>
</ruby>
</object>
</head>
<body></body>
</html>

The validator sais it is [valid]. I'm not sure, but I don't think ruby should be in the head of a document...
Comment 1 Ville Skyttä 2009-09-15 21:13:59 UTC
Quickly reading the DTD, I believe the validator is correct.  object is allowed in head, and object's valid contents include inline elements, and ruby is an inline element.