Re: [csswg-drafts] [css-content] Quote character choice must depend on surrounding language, not language of the quotation (#5478)

I think i had misread the meaning of `auto`.  Tell me if i'm right in thinking that if the default situation is 

```
q { quotes: auto; }
q * { quotes: match-parent; }
```

then **Mais Lucy répondit: «Give George my love and tell him, ‹Muddle›».** would come out as expected, even if there was a third or fourth embedded level, and even if the languages of each embedded level change. That is, the quotes for the top level are set by the language outside the top level (auto), but the quote marks for any embedded levels simply match the quotes used in the top level, regardless of language. (And of course the actual quote characters can vary according to the level, eg. single or double guillemets, but they always match the quotes one would use in the language of the text outside the top level.)

If that's so, then this may be a useful approach for dealing with the `q` element, but content authors will need to know/remember to use the two lines of CSS for any non-q elements if they hack it themselves.  That's a bit of a concern.

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5478#issuecomment-1954413209 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Tuesday, 20 February 2024 15:05:12 UTC