Ticket #50 (closed defect: fixed)

Opened 5 years ago

Last modified 5 years ago

Compliance with CSS21 spec on section "4.2 Rules for handling parsing errors"

Reported by: shane Assigned to: shane
Priority: normal Milestone: 1.0a2
Component: w3c.css Version: 1.0
Severity: normal Keywords: css html xml
Cc: andreis@stud.cs.uit.no

Description (Last modified by shane)

( Courtesy of Andre Soereng )

The parser seems to be working just fine given stylesheets that contain no errors. On error, it raises an exception. However, the spec for 2.1 says in section 4.2 that: "In some cases, user agents must ignore part of an illegal style sheet" It then describes what should be ignored http://www.w3.org/TR/CSS21/syndata.html#parsing-errors. A great improvement to the parser would be to handle and ignore common errors in CSS instead of just backing off.

Change History

07/26/05 14:11:38 changed by shane

  • component changed from w3c to w3c.css.

09/08/05 14:45:42 changed by shane

  • status changed from new to assigned.

09/08/05 16:12:44 changed by shane

  • description changed.

09/09/05 16:06:27 changed by shane

  • status changed from assigned to closed.
  • resolution set to fixed.

Fixed in [401]