Re: [csswg-drafts] [css-text-4] text-autospace: what gets copied? (#8511)

> we're fixing up the source, which doesn't have the correct spacing characters or has excess spacing characters, to match the intended text stream, so it would be useful if the copied text represented that intended text stream rather than its sloppy source.

I'm not sure that that is true.  We have seen numerous examples where space was not provided, and sometimes that seemed to actually be the intended style.  The CSS allows an author to apply a different style, or to regularize the style for the context in which the text will be displayed, but i think that text copied to the clipboard should be the same as the actual content.  

I suspect that copy-paste is typically only likely to involve a small number of places where the original author might have omitted/added space, and so should be easy to fix up. I don't think we should expect that this could become a useful batch processing tool for getting regularly spaced text by creating a web page, adding some CSS, then copying the text back out to the place we want to have it.

So i think we should do just as we do for text-transform, and view the autospace transformation as a presentational tool rather than something that changes the underlying text.

-- 
GitHub Notification of comment by r12a
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/8511#issuecomment-1898745669 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Thursday, 18 January 2024 15:51:25 UTC