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

Re: [css-pseudo] ::selection issues

From: L. David Baron <dbaron@dbaron.org>
Date: Wed, 12 Nov 2014 13:35:48 -0800
To: "Tab Atkins Jr." <jackalmage@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, "www-style@w3.org" <www-style@w3.org>
Message-ID: <20141112213548.GA28312@crum.dbaron.org>
On Wednesday 2014-11-12 13:26 -0800, Tab Atkins Jr. wrote:
> On Tue, Nov 11, 2014 at 9:50 PM, fantasai <fantasai.lists@inkedblade.net> wrote:
> > 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?
> 
> Why aren't we just using the ::first-line list?

::selection is implemented very differently from ::first-line;
::first-line works like a rendering object, whereas ::selection
changes the painting behavior of text.  You also don't want to allow
::selection styles to affect layout.

> > 3. All four browser engines drop the OS colors with when either of 'color'
> >    or 'background-color' is unspecified. This means we have to violate
> >    dbaron's #2 requirement (that the OS colors be representable as a UA
> >    style rule):
> >      http://lists.w3.org/Archives/Public/www-style/2008Oct/0268.html
> >
> >    Given that, I'm assuming this is a Web-compat requirement.
> >    Shall this be required behavior?
> 
> Assuming it's web-compat, yes.

Is someone going to check that assumption in some way?

-David

-- 
𝄞   L. David Baron                         http://dbaron.org/   𝄂
𝄢   Mozilla                          https://www.mozilla.org/   𝄂
             Before I built a wall I'd ask to know
             What I was walling in or walling out,
             And to whom I was like to give offense.
               - Robert Frost, Mending Wall (1914)

Received on Wednesday, 12 November 2014 21:36:15 UTC

This archive was generated by hypermail 2.3.1 : Monday, 2 May 2016 14:39:26 UTC