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

[css-pseudo] feedback re "highlight styling" issues 2 and 3

From: Cameron Lakenen <lakenen@box.com>
Date: Wed, 04 Feb 2015 08:17:24 +0000
Message-ID: <CAOqWLnr5gm5tfkqxp+rbtohVpxtjwxtXzHY2Dcj8G6QemHrT1A@mail.gmail.com> (sfid-20150204_081730_455559_8D35E6EA)
To: www-style@w3.org
See: http://dev.w3.org/csswg/css-pseudo-4/#highlight-styling

*ISSUE 2 <http://dev.w3.org/csswg/css-pseudo/#issue-43364a12> says "Active
vs. inactive selections are often styled differently. Currently no way to
distinguish."*

Has anyone considered writing some language for ::selection being used in
conjunction with :window-inactive? I actually couldn't find a
reference/spec for the window-inactive pseudo-class anywhere, though...
Here's a bit of info I found: http://css-tricks.com/window-inactive-styling/


*ISSUE 3 <http://dev.w3.org/csswg/css-pseudo/#issue-7be57116> says "Are
there any other properties that should be included here?"*

I have a use case that would be made much simpler if I can change the font
of a ::selection pseudo-element. I don't clearly understand the reasoning
for severely limiting which properties can be used to style highlights. Is
there any documentation on this? Is there any reason not to include other
properties, such as font-family, font-size... etc? The only thing I can
think of is swapping the font or changing the size might be confusing to
the user doing a selection. However, that should be left to the app
developer to decide, in my opinion.
Received on Wednesday, 11 February 2015 19:52:26 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:52:01 UTC