W3C home > Mailing lists > Public > www-style@w3.org > June 2015

Re: [css-text-decor] Doesn't example 3 in text-underline-position break current UA behavior?

From: Myles C. Maxfield <mmaxfield@apple.com>
Date: Mon, 29 Jun 2015 11:58:09 -0700
Cc: Masayuki Nakano <masayuki@d-toybox.com>, www-style list <www-style@w3.org>
Message-id: <DA5BD333-4758-4D90-83D5-24A406E41422@apple.com>
To: Koji Ishii <kojiishi@gmail.com>
Replies inline.
> On Jun 28, 2015, at 9:09 AM, Koji Ishii <kojiishi@gmail.com> wrote:
> 
> Hi Myles,
> 
> On Thu, Jun 18, 2015 at 2:41 AM, Myles C. Maxfield <mmaxfield@apple.com <mailto:mmaxfield@apple.com>> wrote:
> [snip]
> Because of all these concerns, we propose changing the syntax of text-underline-position to
> [auto | under]? | [left | right]?
> , making the default value of the property be auto,
> 
> A double bar in CSS syntax is "one or more of them must occur, in any order"[1], so I think Masayuki's syntax "[auto|under] || [left|right]" should give you what you proposed.

The cases I'm trying to guard against are things like:
"left right"
"auto under"
"left left right left"

> 
> Also there's a text saying "If left or right is specified alone, under is also implied", not explicitly written but I think Masayuki implied to change this too by the syntax change.
>  
> and removing the text-underline-position sections of the recommended default UA stylesheet.
> 
> Even after the change to the syntax was made?

Yes, please see my argument regarding how this language-specific logic should be implemented by "auto" rather than the default UA stylesheet.

> 
> [1] http://www.w3.org/TR/CSS21/about.html#property-defs <http://www.w3.org/TR/CSS21/about.html#property-defs>
> 
> /koji
>  


Received on Monday, 29 June 2015 18:58:39 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:08:55 UTC