Re: [css-text] New transform

On Fri, Apr 1, 2016 at 7:03 PM, Henrik Andersson <henke@henke37.cjb.net>
wrote:

> The text-transform property is nice for the various effects that it can
> do. However, I think that it could do more.
>
> As such I propose a new value for the property.
>
> The new value is rot13. When this new transform is applied the
> characters in the text will be replaced according to the rot13
> substitution cipher.
>
> Here is an example of it being used:
>
> <style>
> .spoiler {
>     text-transform: rot13;
> }
> .spoiler:hover {
>     text-transform: none;
> }
> </style>
> <div class="spoiler">Today is an important day.</div>
>

This is pretty cool, and I've had a patch for Gecko [1] :)

[1] https://bugzilla.mozilla.org/show_bug.cgi?id=1261343

- Xidorn

Received on Friday, 1 April 2016 13:03:38 UTC