Bug 97984 - "SYNTAX_ERR: DOM Exception 12" when parsing invalid CSS selectors.
Summary: "SYNTAX_ERR: DOM Exception 12" when parsing invalid CSS selectors.
Status: RESOLVED CONFIGURATION CHANGED
Alias: None
Product: WebKit
Classification: Unclassified
Component: WebCore Misc. (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 97693
  Show dependency treegraph
 
Reported: 2012-09-30 13:15 PDT by Mike West
Modified: 2024-03-17 09:31 PDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Mike West 2012-09-30 13:15:19 PDT
Report from user: "Try something like this:

document.querySelector(""#:foo"")

You get ""SYNTAX_ERR: DOM Exception 12"".

Tell me that it was a problem parsing the selector.  Ideally, tell me what part of the selector failed to parse."
Comment 1 Anne van Kesteren 2024-03-17 09:31:31 PDT
This has improved quite a bit.