Open Bug 427688 Opened 16 years ago Updated 1 year ago

should errors in pseudo-class argument parsing cause )-matching?


(Core :: CSS Parsing and Computation, defect)





(Reporter: dbaron, Unassigned)


(Keywords: css2)


(1 file)

409 bytes, text/html; charset=UTF-8
Attached file testcase
If we hit a parsing error while parsing the argument to a pseudo-class, are we required to skip to the closing ) before continuing on?  I'm not sure if any of the relevant specifications are clear on what should happen.  (The only place CSS 2.1 has anything about matching pairs in selectors is in the formal grammar's production for "any", which I suppose is enough to say that the pairs should be matched.)

I'm adding comments in the patch in bug 75375 pointing out where this is a problem.
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.