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

Re: [css3-ui] caret-color

From: Florian Rivoal <florian@rivoal.net>
Date: Wed, 22 Apr 2015 10:46:28 +0200
Cc: www-style list <www-style@w3.org>
Message-Id: <F2766D06-10A1-41EC-99D4-5A9CBD037493@rivoal.net>
To: Tantek Çelik <tantek@cs.stanford.edu>

> On 22 Apr 2015, at 05:33, Tantek Çelik <tantek@cs.stanford.edu> wrote:
>> I believe we should follow the example of auto in outline-style, and to leave UAs
>> free to be innovative about what what it does, and offering a suggestion of a basic
>> behavior (same as currentColor being reasonable here) if they have no particularly
>> useful idea.
>> Proposed phrasing:
>>  The computed value for auto is auto.
>>  The auto value permits the user agent to automatically adjust the color of caret
>>  to ensure good visibility and contrast with the surrounding content, possibly
>>  based on the text color, background, shadows, etc. User agents may treat
>>  auto as currentColor.
> I think we should still go with a "should" for auto being treated as
> currentColor, and the provide explicit may language about adjustment.
> I'll add some text accordingly.

I am not entirely sure why
  UA can do [anything it deems appropriate],
  may use [default] if in doubt
is more appropriate for one case, while the other gets
  UA should do [default],
  and may do [anything it deems appropriate]
but either way works for me, so case closed as far as I am concerned.

 - Florian
Received on Wednesday, 22 April 2015 08:46:53 UTC

This archive was generated by hypermail 2.4.0 : Monday, 23 January 2023 02:14:50 UTC