W3C home > Mailing lists > Public > www-style@w3.org > December 2016

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Thu, 22 Dec 2016 19:01:56 +0330
To: Edward O'Connor <eoconnor@apple.com>, www-style@w3.org
Message-ID: <f1e69608-231c-9358-226f-dfd56e195cea@inkedblade.net>
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

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:05 UTC