W3C home > Mailing lists > Public > www-style@w3.org > November 2014

Re: [css-pseudo] ::selection issues

From: Tantek Çelik <tantek@cs.stanford.edu>
Date: Wed, 12 Nov 2014 08:32:51 -0800
Message-ID: <CAEV2_WZKqPWyS0V1ecBQimuD2BpV5BBBU8f3Q1WCgkjr2BvG4w@mail.gmail.com>
To: Florian Rivoal <florian@rivoal.net>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
On Wed, Nov 12, 2014 at 7:52 AM, Florian Rivoal <florian@rivoal.net> wrote:
>> On 12 Nov 2014, at 06:50, fantasai <fantasai.lists@inkedblade.net> wrote:
>> 1. We discussed adding ::spelling-error and ::grammar-error alongside ::selection,
>>   but there was no resolution at the F2F. Do we want to add these?
> Even if the resolution was not explicit, what I remember is that we agreed to have them provided the necessary security restrictions are in place. That's my position anyway.

I tend to agree that these are reasonable additions either in the
current/next Selectors draft, or CSS4-UI, whichever is preferred by
the group.

>> 2. The current list of acceptable properties is
>>   - color
>>   - background-color
>>   - cursor
>>   - outline
>>   - text-decoration
>>   - text-emphasis-color (but not text-emphasis)
>>   - text-shadow
>>   a. Are these acceptable?
>>   b. Should any other properties be added?
>>   c. All but the first two are currently optional. Should any others be required?
> If we want to be able to do spelling and grammar with them, it would make sense to have text-decoration be required as well. But in General, I am not hugely in favour of making any of these optional.

>From an interoperability perspective, I agree with making them
required rather than optional.

> I don't think there is any particular technical difficulty in supporting them, so the question is whether they are desirable.

I don't know about the technical difficulty, we will have to get
implementer feedback on that. We shouldn't assume either difficulty or
lack of difficulty without actual implementation experience.

> And if they are, I don't see why this should vary per browser.

In general I agree - I don't know of any reason why it should vary per
browser either, though I'm willing to allow for the possibility that
some platforms may not support these features.

Thanks for your work on pushing both ::selection and these others
forward fantasai and Florian, definitely appreciated.

Received on Wednesday, 12 November 2014 16:33:58 UTC

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