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

Hi Myles,

On Thu, Jun 18, 2015 at 2:41 AM, Myles C. Maxfield <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.

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?

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

/koji

Received on Sunday, 28 June 2015 16:09:51 UTC