Re: Wiki summary of q element default styling issues

> 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