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

The Working Group just discussed `text-transform on copy/paste`, and agreed to the following resolutions:

* `RESOLVED: text-transform doesn't apply to plain text copy paste`
* `RESOLVED: normative state that text-transform does not apply to plain text paste.`

<details><summary>The full IRC log of that discussion</summary>
&lt;fantasai> Topic: text-transform on copy/paste<br>
&lt;fantasai> https://drafts.csswg.org/css-text-3/issues-lc-2013#issue-108<br>
&lt;dael> github: https://github.com/w3c/csswg-drafts/issues/627<br>
&lt;dael> myles: I've since flip-flopped. Last time I said itext-transform should apply to copy paste, but I've changed.<br>
&lt;dael> fantasai: Prop: text-transform doesn't apply to plain text copy paste<br>
&lt;dael> fremy: There could only be manual tests.<br>
&lt;dael> RESOLVED: text-transform doesn't apply to plain text copy paste<br>
&lt;dael> fantasai: If I say :firstline text-transform: uppercase if I copy paste that to a text document.<br>
&lt;dael> koji: I have internal feedback that we have different behavior then spec.<br>
&lt;dael> fantasai: inner text or html?<br>
&lt;dael> koji: Don't remember.<br>
&lt;dael> fantasai: I think applying text-transform is seriously problematic. Because you lose information when you copy out that text.<br>
&lt;dael> koji: It's not my opinion. I'm trying to find what they define.<br>
&lt;dael> myles: Maybe look at the end.<br>
&lt;dael> plinss: If they're defining how text-transform works they shouldnt do that.<br>
&lt;myles> s/myles: Maybe look at the end.//<br>
&lt;dael> florian: They apply to inner text.<br>
&lt;dael> koji: It says [reads]<br>
&lt;koji> From the HTML spec: If node is a Text node, then for each CSS text box produced by node, in content order, compute the text of the box after application of the CSS 'white-space' processing rules and 'text-transform' rules<br>
&lt;dael> TabAtkins: inner text is not the same as inner html. inner text takes weird css already.<br>
&lt;dael> tantek: so it's weird legacy and don't build on it.<br>
&lt;dael> fantasai: There's many things wrong with that spec text. We shouldn't build on that.<br>
&lt;dael> astearns: Given that inner text isn't a precedent should we resolve?<br>
&lt;dael> koji: He wanted to object, JS editors use inner text and want to be same as copy behavior.<br>
&lt;dael> florian: plain text copy?<br>
&lt;dael> koji: They're using plain text.<br>
&lt;dael> astearns: I am inclined to unles syou object have us resolve in this way and let editors come back with spec bug or objection in the issue.<br>
&lt;dael> astearns: Is that okay?<br>
&lt;dael> koji: [nods]<br>
&lt;dael> fremy: I don't know what edge is doing but we won't change for what the spec says. I think the spec says what Edge is doing. We try very hard to work. I'm fine resolving because I'm pretty sure we match.<br>
&lt;dael> fantasai: Am i putting this in the spec?<br>
&lt;dael> astearns: I'm hearing no objections. fremy says he may keep a bug against the text.<br>
&lt;dael> fremy: I don't think copy/paste should be in scope of CSS. If you want it in CSS that's fine.<br>
&lt;dael> astearns: WE have 2 options. ! is state that text-transform doesn't effect plain copy/paste and other is be silent in spec.<br>
&lt;rego> it seems Edge is doing what's resolved (not applying text-transform on copy&amp;paste) :)<br>
&lt;dael> koji: Thier opinion is not to define.<br>
&lt;dael> astearns: How about a non-normative note that we beileve it should not apply to plain text paste but we're not sure it's web compat.<br>
&lt;dael> fremy: We don't apply.<br>
&lt;dael> fantasai: This isn't an issue raised from WG and people posted to www-style unhappy that some browsers have this behavior.<br>
&lt;dael> koji: For chrome we have a bug saying don't apply. I believe FF has bugs saying apply.<br>
&lt;dael> myles: Hearing 2 things. Everyone with opinions believe same on issue. I'm also hearing we don't have juristidction to say it.<br>
&lt;dael> astearns: That's my non-normative note.<br>
&lt;dael> florian: Let's say it.<br>
&lt;dael> astearns: So we should say it.<br>
&lt;fantasai> s/to say it/to say it. So we should just say it./<br>
&lt;dael> tantek: We have interop.<br>
&lt;dael> astearns: Objections to normative stating that text-transform does not apply to plain text paste.<br>
&lt;dael> RESOLVED: normative state that text-transform does not apply to plain text paste.<br>
</details>


-- 
GitHub Notification of comment by css-meeting-bot
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/627#issuecomment-380425497 using your GitHub account

Received on Wednesday, 11 April 2018 11:54:51 UTC