Re: [text-decor-3] matching platform defaults with text-decoration-skip: auto

On 02/14/2014 03:55 AM, Edward O'Connor wrote:
> Hi,
>
> The initial value of `text-decoration-skip' is currently `objects'.
> However, the default platform text decoration behavior on OS X and iOS
> is equivalent to `ink'. We'd like to be able to match the system
> behavior by default in WebKit.
>
> I propose we add an `auto' value to `text-decoration-skip'. While its
> definition would give UAs broad leeway, the spec should have a
> non-normative note encouraging UAs to match platform conventions for
> `auto'.
>
> Once `text-decoration-skip: auto' is defined, we should change the
> initial value of `text-decoration-skip' to be `auto'.
>
> WDYT?

I think this could be easily handled by a UA stylesheet rule
rather than a new UA-dependent initial value. :) WDYT?

   :root { text-decoration-skip: objects ink; }

~fantasai

Received on Thursday, 22 December 2016 20:55:16 UTC