W3C home > Mailing lists > Public > public-css-archive@w3.org > October 2016

Re: [csswg-drafts] [css-text] behavior of copy/paste with text-transform

From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
Date: Wed, 26 Oct 2016 06:31:13 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-256260861-1477463471-sysbot+gh@w3.org>
>One idea came to my mind right now. What if we handled the clipboard 
as some media type? This would allow the author to control whether 
text should be copied transformed or not.

Interesting, that's a very creative approach.

Supposedly that would only apply to plain-text clipboard, and the rich
 text version of the clipboard would be unaffected, since by the time 
you paste it it is no longer in the clipboard, right?

I don't know if I like this. I gives control to the author about what 
may rather be a user preference. But then again it can enable the 
author to tell separate some use cases (`abbr 
{text-transform:lowercase; font-variant: small-caps;`) from some 
others (`em {font-style:normal; text-transform: uppercase;}`) that 
that may be a good thing.

-- 
GitHub Notification of comment by frivoal
Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/627#issuecomment-256260861 
using your GitHub account
Received on Wednesday, 26 October 2016 06:31:25 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:04 UTC