Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Closed
faceless2 opened this issue Dec 4, 2017 · 1 comment

Comments

@faceless2
Copy link

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants