- From: L. David Baron <dbaron@dbaron.org>
- Date: Tue, 25 Jan 2011 14:50:43 -0800
- To: Geoffrey Sneddon <gsneddon@opera.com>
- Cc: public-css-testsuite@w3.org
- Message-ID: <20110125225043.GA21227@pickering.dbaron.org>
We're trying to get to having two passing implementations of http://test.csswg.org/suites/css2.1/20101001/html4/quotes-035.htm Gecko currently passes, and Opera is reasonably close. I took a look at why Opera is failing, and I think it comes down to two bugs: (1) When the quote nesting depth is greater than the number of provided types of quotes, then the last pair of quotes is supposed to be used: # If the depth is greater than the number of pairs, the last # pair is repeated. --http://www.w3.org/TR/CSS21/generate.html#quotes-insert Opera currently uses " instead. (2) Opera allows the quote nesting depth to be reduced below zero, and renders a " for open-quote or close-quote that are at a depth below 0 (like it does for past the quotes list). Instead, it should do what the spec describes here: # A 'close-quote' or 'no-close-quote' that would make the depth # negative is in error and is ignored (at rendering time): the # depth stays at 0 and no quote mark is rendered (although the # rest of the 'content' property's value is still inserted). --http://www.w3.org/TR/CSS21/generate.html#quotes-insert I believe these are the only issues needed to fix quotes-035, since the attached diff to the test works around both of these issues and leads to Opera passing. -David -- L. David Baron http://dbaron.org/ Mozilla Corporation http://www.mozilla.com/
Attachments
- text/x-diff attachment: quotes-035.diff
Received on Tuesday, 25 January 2011 22:51:36 UTC