|
|
|
|
|
by reificator
3019 days ago
|
|
It's frustrating that the site markup is (almost) correct[1], because IMO the browser is in the wrong here. I think it makes more sense for the browser to copy the text as it is in the markup, because all-caps is a stylistic choice not a content choice. I can see the argument the other way around, where the text the user selects should be the text they copy, and that makes sense. But I maintain that the same article with different stylesheets should produce the same text content on the page for the user to copy. [1]: The markup is in something approaching title case, except that words like `with` are also capitalized. Then the element is using `text-transform: uppercase`. |
|
This is almost never the case for headers and such. New York Times or CNN have fancy logos/headlines, but we don't want to reproduce them each time we refer to the company or specific article - we just want the content. text-transform is a great way to achieve presentation need (bold headlines) without messing up content. Copying - excepting cases of visual copying, e.g. screenshot - should always have an option of content-only copying.