currentColor
A client moved to a slightly different red, I ran the find and replace across the stylesheet, and one icon came out the old color, which sent me off counting how many times I'd typed a value the browser was going to use anyway.
text-wrap: balance and pretty
Two values that fix the two ugliest things typesetting does on the web, and the rule for which to use is entirely about how many lines you have.
Nobody demos an upgrade
The best possible outcome of a migration is that nothing happens, which looks exactly the same from the outside as having done nothing at all.
The loan with no lender
A ticket I wrote in 2022 asking for a few days to clean up the checkout templates has now outlived 2 project management tools, and in 3 years not one person has argued against doing it.
Somebody else's checkout
Next week Shopify stops supporting checkout.liquid on 3 of the checkout steps, and going through one store's customizations turned up 8 pieces of decoration and 1 thing that was the entire business.
A modal is a form
I deleted a focus trap last October and was extremely pleased with myself, then read the dialog element's documentation properly and found the one method call that had been doing that job, and 4 others, since 2022.
Scroll wheels and zip codes
A customer was charged for 40 of something they had ordered 4 of, and the mechanism turned out to be a browser behavior sitting inside the one input type everybody reaches for.
Native nesting and the ampersand
I moved one component off the preprocessor and the card came back as a column of unstyled text with the padding still on it, because every rule in that file whose selector started with an ampersand had quietly stopped being a rule.
z-index: 9999
A size dropdown on a client's product grid kept rendering underneath the row of products below it, and the 9999 already sitting on it had been doing nothing at all for two years.
Intl.NumberFormat
Currency formatting is in the browser, has been for years, and is still being done with a hardcoded dollar sign and a call to toFixed in most of the code I read.
10% lighter
The client's designer said the hover on a button looked purple, and it did, even though the hue number hadn't moved a single degree off the blue it was supposed to be.