CSS or BS?
67 points by outervale
67 points by outervale
Pretty cool! So many BS ones sound real. How's backface-visibility real and scroll-direction not?
backface-visibility makes a lot of sense when you do 3D; you need some mechanism to achieve double-sided surfaces with no thickness, and that’s a good one.
What would scroll-direction even mean? Suggest something that wouldn’t be an obviously-bad idea.
To allow a scroll-wheel on a mouse to direct horizontal scrolling instead of vertical?
Thanks, that is indeed not an obviously-bad idea. Dubious, but I can see a legitimate, though very niche, purpose. I was stuck thinking in the block direction and imagining it just being used to reverse the scroll direction, which would not be good.
Browsers should rotate such scrolling in the presence of a vertical writing mode (though I don’t know if any ever has), so you could perhaps theoretically lean on that. It’d be funny, at the very least.
Half the spec is a mystery to you. The other half is also a mystery, but you guessed right on those.
😆
I failed miserably and declared it all cursed. Then I wrote a spec for Bombadil (https://github.com/antithesishq/bombadil/) that gets a 20/20 score. Turned out some properties were only in W3C drafts, and not implemented by browsers yet. So my original plan of just checking for CSS.supports and window.getComputedStyle failed pretty badly. Tried using some databases off of NPM but those only got me to ~17/20. In the end I scraped the WC3 indexes and got it to 20/20.
Cheating? Yes, kind of. It was mostly an exercise in what I (and Claude Code) could do with the Bombadil spec language. I'm thinking about vibe-cloning the app (can't find the source) to be able to run it inside Antithesis (which is my employer, for clarity) and have the fuzzer drive Bombadil to get a perfect score without any CSS knowledge.
Anyways, fun project!