W3C home > Mailing lists > Public > public-digipub-ig@w3.org > April 2016

Re: Wiki summary of q element default styling issues

From: Florian Rivoal <florian@rivoal.net>
Date: Tue, 26 Apr 2016 09:47:01 +0900
Cc: ishida@w3.org, "Asmus Freytag (c)" <asmusf@ix.netcom.com>, www International <www-international@w3.org>, W3C Digital Publishing IG <public-digipub-ig@w3.org>
Message-Id: <CB8F1384-7C5B-40AD-8CF2-072505F2024A@rivoal.net>
To: John Cowan <cowan@mercury.ccil.org>

> On Apr 26, 2016, at 00:53, John Cowan <cowan@mercury.ccil.org> wrote:
> 
> Florian Rivoal scripsit:
> 
>> And even if this function is not implemented, hardcoding things in
>> the markup does not give you more flexibility than doing it with
>> css. The way markup handles arbitrary depth of alternating quotes is
>> by writing the alternating quotes manually. If you can manually write
>> 5, 12, or 57 levels of nested quotes, you can manually writing 5, 12,
>> or 57 level of nested selectors.
> 
> That is true but not the point.  If a new default is to be specified
> for q in terms of CSS, it has to be in a finite amount of CSS.  The
> toggle satisfies that: adding extra nested selectors does not.

For sure, but a generally sane (if not universally applicable) default *can* be written with a finite amount of css.

If you wish to override it for specific cases, then you only need to concern yourself with these specific cases, and in that context you do not need to handle infinite depth.

 - Florian
Received on Tuesday, 26 April 2016 00:47:28 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 25 April 2017 10:44:42 UTC