WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED INVALID
76348
querySelector fails on numerical ids
https://bugs.webkit.org/show_bug.cgi?id=76348
Summary
querySelector fails on numerical ids
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
Add attachment
proposed patch, testcase, etc.
Boris Zbarsky
Comment 1
2012-01-15 13:37:34 PST
See analysis in
https://bugzilla.mozilla.org/show_bug.cgi?id=718326
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug