W3C home > Mailing lists > Public > www-style@w3.org > October 2016

Re: [css-text] copying text-transform'd text

From: Koji Ishii <kojiishi@gmail.com>
Date: Wed, 26 Oct 2016 02:38:49 +0900
Message-ID: <CAN9ydbV=7zQ0C8gEPHdkEgWCGO75AFEwfTG_nWqG_xz4N9hzFw@mail.gmail.com>
To: Dave Cramer <dauwhe@gmail.com>
Cc: fantasai <fantasai.lists@inkedblade.net>, Brad Kemper <brad.kemper@gmail.com>, "www-style@w3.org" <www-style@w3.org>
Replied to github but this seems to be the place to reply, sorry.

I collected major issues we're aware of, from out bug database and user
forum. Given the Greg's request, the list isn't limited to text-transform.

1. Most of feedback are about preserving format in the way users expect
when copy/pasting formatted text, either from browser or to browser.
2. There are cases where we don't handle spaces (collapse too much or to
little) and new lines (fail to generate new lines for end of blocks etc.)
in the way users expect. One example is crbug.com/318925.
3. There are cases where selecting linked text is hard or impossible. One
example is crbug.com/446391.

The text-transform didn't come up in either places.

/koji

2016-10-20 22:03 GMT+09:00 Dave Cramer <dauwhe@gmail.com>:

> On Wed, Apr 8, 2015 at 7:58 AM, Koji Ishii <kojiishi@gmail.com> wrote:
> > On Apr 2, 2015, at 11:41, fantasai <fantasai.lists@inkedblade.net>
> wrote:
> >>
> >> I think we probably need to get the browsers to agree on this
> >> issue and put the required behavior in the spec, so authors know
> >> what to expect.
> >>
> >> Personally I don't think the copied text should be affected by
> >> the transform: if that's a key part of the text's presentation,
> >> then it should be done in the source. There's a lot of cases
> >> where it wouldn't make sense to copy out the style. E.g. putting
> >> the first word (or phrase) of an article is a stylistic choice
> >> that shouldn't come out in the plaintext copy.
> >
> > I disagree on both the desired behavior and standardizing this behavior.
> >
> > I personally prefer What You See Is What You Copy. How it’s written in
> the source file doesn’t matter much to me when I’m viewing a web site.
> Especially if we were to introduce regex based text-transform in future,
> it’s even more confusing.
> >
> > And I think plain-textizing belongs to browser UX. If you don’t like a
> behavior in your favorite browser, filing a bug to the browser makes more
> sense to me.
>
> Per the Working Group call yesterday, here are some browser bugs
> around this issue:
>
> Mozilla: https://bugzilla.mozilla.org/show_bug.cgi?id=35148
> Webkit (old): https://bugs.webkit.org/show_bug.cgi?id=3429
> Webkit (new):  https://bugs.webkit.org/show_bug.cgi?id=43202
>
> There doesn't seem to be consensus, but it's only been sixteen years.
>
> Dave
>
Received on Tuesday, 25 October 2016 17:39:38 UTC

This archive was generated by hypermail 2.4.0 : Friday, 25 March 2022 10:09:05 UTC