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 12293 - Syntax error in the example, the INPUT start tag ends in />
Summary: Syntax error in the example, the INPUT start tag ends in />
Status: VERIFIED INVALID
Alias: None
Product: HTML WG
Classification: Unclassified
Component: LC1 HTML5 spec (show other bugs)
Version: unspecified
Hardware: Other other
: P3 normal
Target Milestone: ---
Assignee: Ian 'Hixie' Hickson
QA Contact: HTML WG Bugzilla archive list
URL: http://www.whatwg.org/specs/web-apps/...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-13 16:12 UTC by contributor
Modified: 2011-08-04 05:00 UTC (History)
6 users (show)

See Also:


Attachments

Description contributor 2011-03-13 16:12:16 UTC
Specification: 
Section: http://www.whatwg.org/specs/web-apps/current-work/#the-pattern-attribute

Comment:
Syntax error in the example, the INPUT start tag ends in />

Posted from: 93.182.161.251
User agent: Mozilla/5.0 (X11; Linux x86_64; rv:2.0b13pre) Gecko/20110309 Firefox/4.0b13pre
Comment 1 Tab Atkins Jr. 2011-03-13 21:28:08 UTC
That is not a syntax error.  It is allowed to end void elements with a /> in the HTML syntax, and required in the XML syntax.
Comment 2 Yuhong Bao 2011-03-30 06:09:45 UTC
The only reason it was not allowed in HTML4 was because of the SHORTTAG setting, which predates the WebSGML TC.
Comment 3 Michael[tm] Smith 2011-08-04 05:00:51 UTC
mass-moved component to LC1