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

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

From: fantasai <fantasai.lists@inkedblade.net>
Date: Wed, 01 Apr 2015 19:01:01 -0400
Message-ID: <551C78AD.7040209@inkedblade.net>
To: www-style@w3.org
On 04/01/2015 11:55 AM, Brad Czerniak wrote:
> Re: Issue 3:
> It occurred to me that text-transform would be a great property to include in the "3.2. Styling Highlights" list.

It's not possible to include this property because it affects layout.
Only properties that don't affect layout can be included for highlighting.

> Specifically, for a particular use case (though there are undoubtedly others); A heading/title has text-tranform: uppercase;
> by default. When a user selects the text for copy/paste, it gets copied in upper case. Having the option to set
> text-transform: none; on ::selection would be a win.

This seems like a browser bug. Nothing in the CSS spec says that
'text-transform' should affect copy/paste. And probably it shouldn't.

Received on Wednesday, 1 April 2015 23:01:37 UTC

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