Bug 97984

Summary: "SYNTAX_ERR: DOM Exception 12" when parsing invalid CSS selectors.
Product: WebKit Reporter: Mike West <mkwst>
Component: WebCore Misc.Assignee: Nobody <webkit-unassigned>
Status: RESOLVED CONFIGURATION CHANGED    
Severity: Normal CC: annevk
Priority: P2    
Version: 528+ (Nightly build)   
Hardware: Unspecified   
OS: Unspecified   
Bug Depends on:    
Bug Blocks: 97693    

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.