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: Koji Ishii <kojiishi@gmail.com>
Date: Mon, 29 Jun 2015 01:09:24 +0900
Message-ID: <CAN9ydbVnsKLh3_x-7gLAwnq-WyLJ=iFTrZVYz3uxxXerw30fkg@mail.gmail.com>
To: "Myles C. Maxfield" <mmaxfield@apple.com>
Cc: Masayuki Nakano <masayuki@d-toybox.com>, www-style list <www-style@w3.org>
Hi Myles,

On Thu, Jun 18, 2015 at 2:41 AM, Myles C. Maxfield <mmaxfield@apple.com>

> [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

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

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