This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
I've been validating some HTML5 for a blog I've been developing and I'm finding that nothing I do will make the placement of a <dialog> element valid. For example: <!DOCTYPE html> <html> <head> <title>Test</title> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head> <body> <section> <dialog> <dt>Foo</dt> <dd>Bar</dd> </dialog> </section> </body> </html> The above HTML should validate according to the latest HTML5 Working Draft. Instead, when run through the validator I'm given the following error: "Line 9, Column 11: Element dialog not allowed as child of element section in this context. (Suppressing further errors from this subtree.)" According to the spec, the <dialog> element should be valid wherever "flow content" is expected, such as a <section>, correct? I've even tried swapping out the <section> element for others like <p>, <div>, <span>, etc., and still no luck.
This appears to come directly from the HTML5 validator and I can reproduce with validator.nu, so I'm closing this issue here. For an explanation why, see the updated bug reporting instructions (bottom of the page) for our next release: http://qa-dev.w3.org/wmvs/HEAD/feedback.html#bugreport
The <dialog> element has since been removed from the HTML5 spec.