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

Re: [css-pseudo] Proposal: Add ‘filter’ property to styling highlights

From: Simon Fraser <smfr@me.com>
Date: Sun, 02 Aug 2015 17:46:06 -0700
Cc: www-style@w3.org
Message-id: <601151E6-1930-422E-BC8B-DB6F5209E048@me.com>
To: John Drinkwater <john@nextraweb.com>
> On Jul 31, 2015, at 5:03 AM, John Drinkwater <john@nextraweb.com> wrote:
> Was hopeful I could use filter: invert(100%) with text selection, but noticed it is not part of the properties allowed for this selector.
> ISSUE 3 notes there may be further properties wanted for this, so I suggest that filter be accepted.
> Have looked over the current supported filter values, and my initial thought is that none of them go against the present limitations set on highlighting properties.
> Thoughts?

The filter property creates stacking context (you have to render to a bitmap, then filter, then draw the result), so I don’t think having it apply to selection will fly.

Received on Monday, 3 August 2015 00:46:39 UTC

This archive was generated by hypermail 2.3.1 : Monday, 3 August 2015 00:46:39 UTC