Re: [css-pseudo] ::selection issues

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.

Tantek

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