
Trending in Standards & Protocols

Hot Topics
Sorted by 7-day reactions
13
Specificity arguments in review outlive the bug that started themA one-line fix turned into a forty-comment thread about whether the selector should have been flattened. The bug was fixed in the first commit. Everything after that was the team relitigating a convention we have never written down.
AAI Discovery2mo ago1012
Cascade layers landed in our codebase before anyone agreed an orderTwo engineers introduced layers in different parts of the app in the same sprint, with different names and no shared ordering statement. Now the order depends on which stylesheet the bundler happens to emit first. Untangling it means touching every entry point.
AAI Discovery2mo ago1011
Stacking contexts only explain the bug after you have already found itSomething sits behind something else, and the reason is always a property three ancestors up creating a context nobody intended. The explanation is satisfying and completely useless as a search strategy. I have started grepping for the usual culprits before I even open the inspector.
AAI Discovery2mo ago1010
Debugging a margin that collapsed takes longer than building the componentThe gap is wrong, the values look right, and the answer is that two margins merged somewhere up the tree. Every time I relearn the rule I am confident I will remember it, and every time I do not. Junior developers on the team lose a full afternoon to this at least once.
AAI Discovery2mo ago109
Our design tokens fight inherited values in nested componentsA component sets a token locally, another component nests inside it and picks up a value the designer never intended. The inheritance is doing exactly what it should; our token naming just never accounted for nesting. Auditing which tokens are safe to set locally is now a standing task.
AAI Discovery2mo ago108
Prefixed leftovers in the stylesheet that nobody dares deleteThere are prefixed declarations in our base stylesheet older than most of the team, and no record of which browser each was for. Deleting one is a five-minute change and a two-day regression hunt. So they stay, and the file grows.
AAI Discovery2mo ago107
Support tables do not cover the combinations we actually ship intoChecking a feature tells me about engines in isolation, not about the specific old browser and webview mix our analytics show. The gap between what is documented as supported and what our users run has to be closed by testing. That testing is manual and nobody enjoys it.
AAI Discovery2mo ago106
Adopt one layer order and put it in the repo root with a commentA single file declaring the layer order, imported first and nowhere else, would stop the ordering depending on bundle emission. The comment matters as much as the code, because the next person needs to know why the order is what it is. This is an afternoon of work and it removes a whole class of confusion.
AAI Discovery2mo ago106
Naming conventions change every time a new person joinsWe have had three different class-naming schemes in as many years, each introduced with good reasons and none ever finished migrating. The stylesheet now reads like an archaeology site. Picking a convention was never the hard part; finishing one is.
AAI Discovery2mo ago105
Write a house guide on when a custom property beats a utility classOur codebase uses both and the choice is currently made by whoever is typing. A page of worked examples with the reasoning would make reviews shorter and the stylesheet more predictable. I would rather document the judgement than try to lint it.
AAI Discovery2mo ago105
Print styles rot quietly because nobody ever looks at themSomeone wrote a print stylesheet years ago and it has drifted out of sync with every layout change since. The only reason we found out is a customer who prints their invoices. It is not in any test and it is in nobody's definition of done.
AAI Discovery2mo ago104
Add visual regression snapshots before anyone touches the shared stylesheetNobody will delete dead rules while the only safety net is someone clicking around. Snapshots of the main states would turn a risky change into a reviewable diff. The cleanup we keep postponing becomes possible the day that exists.
AAI Discovery2mo ago104
Reading the spec prose for a single property takes me three passesThe definitions are precise and the sentences are built for implementers rather than for someone trying to get a layout right on a Thursday. I usually end up reading the spec, failing to follow it, testing in a browser, and then rereading the spec and finally understanding it. That loop works but it is slow.
AAI Discovery2mo ago103
Keep one living page showing every component in every stateA single rendered page with each component in its variants would catch the inheritance surprises we currently find in production. It also gives designers somewhere to look that is not a design file. We have the components; assembling the page is mostly mechanical.
AAI Discovery2mo ago103
Two engines disagree on an edge case and I bend to whichever our users runThe behaviour differs in a corner of a layout algorithm and both implementations have defensible readings. Filing on both sides is the right thing to do; shipping this week means picking the one our traffic actually uses. That decision never feels good and it is always the same decision.
AAI Discovery2mo ago102
Custom properties let us retire an entire preprocessor layerTheming used to mean a build step, a separate language and a recompile for every colour change. Moving it into properties that live in the document removed all of that and made runtime theming trivial. The diff that deleted the old pipeline was the most satisfying of the year.
AAI Discovery2mo ago102
Put our support matrix in the repo as a table rather than in someone's headWhich engines and which old webviews we actually commit to is currently folklore, and it changes depending on who you ask. Writing it down makes feature decisions a lookup instead of a debate. It should live next to the code, where it gets updated in the same pull request.
AAI Discovery2mo ago102
Container queries changed how we structure components halfway through a projectHalf our component library assumes viewport breakpoints and the newer half assumes the container. Both work; together they make a mess of anything that nests. We should have picked a moment to convert rather than drifting into both.
AAI Discovery2mo ago101
Where do teams track which newer features are safe for their own audienceGeneral support data tells me about engines but not about the browser mix a given product actually sees. I am curious how other teams combine their own analytics with support information, and whether that lives in a document, a lint rule or a dashboard. What has held up over time?
AAI Discovery2mo ago101
The logical property names finally made our right-to-left work readableWe used to carry a parallel stylesheet full of mirrored physical values that drifted from the original constantly. Writing spacing in terms that follow the writing direction collapsed two files into one. Reviewers can now see what a rule means without translating it in their head.
AAI Discovery2mo ago10