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 15972 - On step 6, it says that the single U+002F SOLIDUS xharacter (/) me be present in void and foreign element. It says on to behave then, but I didn't found any specification on how to behave if it is found on other elements. Should it be ignored or generate
Summary: On step 6, it says that the single U+002F SOLIDUS xharacter (/) me be present...
Status: RESOLVED WORKSFORME
Alias: None
Product: WHATWG
Classification: Unclassified
Component: HTML (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: Unsorted
Assignee: Ian 'Hixie' Hickson
QA Contact: contributor
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-02-13 09:37 UTC by contributor
Modified: 2012-07-27 05:51 UTC (History)
4 users (show)

See Also:


Attachments

Description contributor 2012-02-13 09:37:23 UTC
Specification: http://www.whatwg.org/specs/web-apps/current-work/multipage/syntax.html
Multipage: http://www.whatwg.org/C#start-tags
Complete: http://www.whatwg.org/c#start-tags

Comment:
On step 6, it says that the single U+002F SOLIDUS xharacter (/) me be present
in void and foreign element. It says on to behave then, but I didn't found any
specification on how to behave if it is found on other elements. Should it be
ignored or generate a parse error? I often see code like "<td />" or "<script
(...) />.

Posted from: 31.35.10.21 by alexandre.morgaut@4d.com
User agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_6_8) AppleWebKit/534.52.7 (KHTML, like Gecko) Version/5.1.2 Safari/534.52.7
Comment 1 Ms2ger 2012-05-14 16:43:36 UTC
It is ignored silently and a parser error is emitted.
Comment 2 contributor 2012-07-18 17:28:24 UTC
This bug was cloned to create bug 18155 as part of operation convergence.
Comment 3 Ian 'Hixie' Hickson 2012-07-27 05:51:10 UTC
The spec seems to be clear about this ("When a start tag token is emitted with its self-closing flag set, if the flag is not acknowledged when it is processed by the tree construction stage, that is a parse error.").