News for hackers. Stuff that matters.
Re:Node.js.dev is applying text-transform: capitalize to all... by SSchick on Monday September 05, 2022 @11:33AM (#32725423)
This looks un-intentional, maybe file a bug with them? Why post this here?
Re:Node.js.dev is applying text-transform: capitalize to all... by dawnerd on Monday September 05, 2022 @11:39AM (#32725530)
Yep just looked and it's just a bad css rule. Nothing to see here.

And looks like a fix is already going out https://github.com/nodejs/nodejs.dev/issues/2721

Re:Node.js.dev is applying text-transform: capitalize to all... by jonplackett on Monday September 05, 2022 @12:58PM (#32726457)
Just thought it was an amusing error
Re:Node.js.dev is applying text-transform: capitalize to all... by ppetty on Tuesday September 06, 2022 @08:45AM (#32736359)
So seriously, I agree that this seems like a bug. But it also seems easier in some cases it might benefit others. So similar to Show HN or Ask HN … Bug HN as a prefix for post titles like this?

I really think however small there is value, and it’s still fair to reply “file a bug report.”

Re:Node.js.dev is applying text-transform: capitalize to all... by chiefalchemist on Monday September 05, 2022 @10:16AM (#32724554)
That's not what I'm seeing.
Re:Node.js.dev is applying text-transform: capitalize to all... by Accacin on Monday September 05, 2022 @11:32AM (#32725412)
Apologies if I'm explaining where I needn't, but it's not the code, it's the copy around the code that I'm seeing capitalised.
Re:Node.js.dev is applying text-transform: capitalize to all... by loige on Monday September 05, 2022 @11:41AM (#32725569)
I think this has been fixed here https://github.com/nodejs/nodejs.dev/pull/2713/files

Probably just pending release

Re:Node.js.dev is applying text-transform: capitalize to all... by jprd on Monday September 05, 2022 @10:42AM (#32724842)
Ewww, those examples are giving me hard to stomach Visual Basic 3 flashbacks. Obviously it is a style choice, and it runs the same, it just "feels" wrong.

I keep thinking of that SNL sketch about the Avatar logo.

Re:Node.js.dev is applying text-transform: capitalize to all... by seniorsassycat on Monday September 05, 2022 @11:45AM (#32725619)
not a style choice, javascript is case sensitive. capitol c const is not a keyword, and an example defines capitol f fs but later references lowercase fs.

this is a bad css rule

Re:Node.js.dev is applying text-transform: capitalize to all... by EgoIsMyFriend on Monday September 05, 2022 @11:49AM (#32725663)
it does not run the same, JavaScript is case sensitive. one does wonder however why and how the change happened
Re:Node.js.dev is applying text-transform: capitalize to all... by jonplackett on Monday September 05, 2022 @10:15AM (#32724537)
Which obviously stops them working...