Post AU8gRFmBTHBbPtsK1I by tomayac@toot.cafe
(DIR) More posts by tomayac@toot.cafe
(DIR) Post #AU8gRFmBTHBbPtsK1I by tomayac@toot.cafe
2023-03-30T09:12:30Z
0 likes, 2 repeats
In the HTML: `<h1>Hello</h1>`.In the CSS: `h1 { text-transform: uppercase; }`.Select the H1 and copy. On the 📋 clipboard: Chrome: HELLO Safari: HELLO Firefox: HelloOnly Firefox is right: https://w3c.github.io/csswg-drafts/css-text/#text-transform:~:text=This%20property%20transforms%20text%20for%20styling%20purposes.%20It%20has%20no%20effect%20on%20the%20underlying%20content%2C%20and%20must%20not%20affect%20the%20content%20of%20a%20plain%20text%20copy%20%26%20paste%20operation.@aardrian is on this since 2012 (https://adrianroselli.com/2012/06/copying-content-styled-with-text.html). I just filed a Chrome bug (https://crbug.com/1429183) after the WebKit bug by @mathias from 2010 (https://bugs.webkit.org/show_bug.cgi?id=43202).