W3C home > Mailing lists > Public > public-css-archive@w3.org > December 2017

[csswg-drafts] [css-content] paragraph relating to negative quote depths from CSS2 is missing from CSS3

From: Mike Bremford via GitHub <sysbot+gh@w3.org>
Date: Mon, 04 Dec 2017 16:33:54 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-279060856-1512405233-sysbot+gh@w3.org>
faceless2 has just created a new issue for https://github.com/w3c/csswg-drafts:

== [css-content] paragraph relating to negative quote depths from CSS2 is missing from CSS3 ==
CSS 2.1 has this to say about the "quote" property in https://www.w3.org/TR/CSS21/generate.html#quotes-specify:

> 'Open-quote' refers to the first of a pair of quotes, 'close-quote' refers to the second. Which pair of quotes is used depends on the nesting level of quotes: the number of occurrences of 'open-quote' in all generated text before the current occurrence, minus the number of occurrences of 'close-quote'. If the depth is 0, the first pair is used, if the depth is 1, the second pair is used, etc. If the depth is greater than the number of pairs, the last pair is repeated. **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).**

The sentence in bold has not been migrated to CSS3 (see https://www.w3.org/TR/css-content-3/#quotes-property)

Without it, what to do if the depth is negative remains undefined. I presume the behaviour has not changed, and this is just a cut and paste error.

Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/2038 using your GitHub account
Received on Monday, 4 December 2017 16:34:08 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 19 October 2021 01:30:41 UTC