Bug 76348

Summary: querySelector fails on numerical ids
Product: WebKit Reporter: James Campos <james.r.campos>
Component: DOMAssignee: Nobody <webkit-unassigned>
Status: RESOLVED INVALID    
Severity: Normal CC: bzbarsky, sam
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   

James Campos
Reported 2012-01-15 12:28:18 PST
http://www.w3.org/TR/html-markup/datatypes.html#common.data.id-def html5 allows ids beginning with numbers, but chromium 16 throws an error with the following: document.querySelector('#1') Error: SYNTAX_ERR: DOM Exception 12
Attachments
Boris Zbarsky
Comment 1 2012-01-15 13:37:34 PST
Note You need to log in before you can comment on or make changes to this bug.