Open Bug 427688 Opened 15 years ago Updated 2 months ago

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

Categories

(Core :: CSS Parsing and Computation, defect)

defect

Tracking

()

People

(Reporter: dbaron, Unassigned)

Details

(Keywords: css2)

Attachments

(1 file)

409 bytes, text/html; charset=UTF-8
Details
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.