5 ms·
LOUD NOISES What’s with the all-caps title? Did they spit it out from the server using ToUpperCase instead of using CSS text-transform?
by tuespetre 9y ago
LOUD NOISES
What’s with the all-caps title? Did they spit it out from the server using ToUpperCase instead of using CSS text-transform?
- dang 9y agoNo, it's that some article titles use all-caps typography and then HN users copy it. We're going to write a bit of software to convert these, or at least ask submitters to revise them. In the meantime we've edited the title above.
- reificator 9y agoIt'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`.
- smsm42 9y ago> I can see the argument the other way around, where the text the user selects should be the text they copy 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.
- downvote_shit 9y agoMeanwhile, the downvotes are bullshit downvotes. Got a fix for that?