[Bug 13398] i18n-ISSUE-80: Default rules for the quotes property

https://www.w3.org/Bugs/Public/show_bug.cgi?id=13398

--- Comment #25 from Ian 'Hixie' Hickson <ian@hixie.ch> ---
(In reply to i18n IG from comment #24)
> There are still two problems with that:
> 
> (1) :root means that q elements don't get properly quoted if there's no lang
> on the html, or if the q appears in part of the doc that happens to be in
> another language

I think you misunderstand the selector. Commas are "or" in Selectors, so the
first line of my proposed selector is just about settings 'quotes' on the first
element in the tree, and it doesn't affect the rest of the selectors. In
particular, it doesn't require lang="" (it could come from out-of-band data),
and doesn't prevent the other rules from applying when the document has
multiple languages (indeed the second line is exclusively for handling that
specific case, regardless of nesting level).


> (2) the quoting level is not quite right in mixed language embeddings, ie.
> you get
> 
> un «two 'drei ‚vier‘ fünf' six» sept
> 
> instead of 
> 
> un «two "drei „vier“ fünf" six» sept
> 
> I tried various alternatives, but my brain hurts and I still haven't found a
> way to get around that.

That seems separate from the issue of seeing the 'quotes' property. That should
be resolved at the CSS level.

-- 
You are receiving this mail because:
You reported the bug.

Received on Tuesday, 25 February 2014 17:49:37 UTC