This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
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
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.
The only reason it was not allowed in HTML4 was because of the SHORTTAG setting, which predates the WebSGML TC.
mass-moved component to LC1