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

> 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.

Simon

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