css: drop the minifier claim from the tab-bar fix — it is not true
The tab-bar commit gave two causes for the see-through bar. The first is real
and is what users reported: 72% opacity. The second was invented — that the CSS
minifier collapses a backdrop-filter / -webkit-backdrop-filter pair down to
whichever is written last, so the standard property never shipped and Firefox
got alpha without blur.
It does not. This project builds CSS with esbuild's minifier, which treats the
two as what they are, different property names, and keeps both in either order:
main's stylesheet minifies to five unprefixed and five prefixed, and so does
this branch's. Nothing was ever dropped, and there was no Firefox-only bug.
So the claim comes out of the code comment, out of the CHANGELOG, and out of
the release announcement, where it would have gone to the whole Discord as a
confident technical explanation for something that never happened.
What stays is the part that is true and is the actual fix: 94% opacity, less
blur — which is a genuine win on Android, where a blur behind a fixed element
is recomposited every scroll frame — and the @supports fallback to fully opaque
where backdrop-filter really is unavailable. The prefixed-first ordering stays
too, since that is the right order for a prefixed/standard pair regardless: the
standard name should be the one that wins the cascade. Only the reason given
for it changes.
(The message on 46eaefd still carries the original claim; it is left alone
rather than rewriting a branch mid-review.)
This commit is contained in:
1 parent
b28115a8f9
commit
8104539932
2 files changed
+10
-12
No files matched your search
+7
-6
@@ -59,12 +59,13 @@ which turned out to be worse than they looked from the outside.
|
||||
weight, and every point without one was dropped, so a full history read as "No data yet". When
|
||||
nothing in an exercise's history was ever loaded, the reps are the progress — so that is what
|
||||
is plotted now. Add a weighted set later and it switches back to weight. (issue #5)
|
||||
- 🫥 **The tab bar was see-through in Firefox** — and only there. The CSS minifier collapses a
|
||||
`backdrop-filter` / `-webkit-backdrop-filter` pair down to whichever comes last, so the
|
||||
standard property never reached the build and Firefox got the transparency without the blur.
|
||||
Fixed for all five blurred surfaces. The bar is also more opaque now (94%, up from 72%) and
|
||||
blurs less, which is faster on Android, where a blur behind a fixed element is recomposited on
|
||||
every scroll frame.
|
||||
- 🫥 **The tab bar was see-through.** At 72% opacity the page read straight through it and the
|
||||
labels competed with whatever was scrolling behind them — nobody needs to read the content
|
||||
under a navigation bar. It is 94% now in both themes, and blurs less, which is also faster on
|
||||
Android, where a blur behind a fixed element is recomposited on every scroll frame. Where
|
||||
`backdrop-filter` is unavailable at all — old Android WebViews, "reduce transparency" — the
|
||||
blurred surfaces now go fully opaque instead of leaving just the alpha, which was the worst of
|
||||
both. (reported by mflova, seconded by seals187)
|
||||
- 📥 **No Smith-machine exercise could ever match on import.** The `machine → lever` rule ran
|
||||
before `smith machine → smith`, so the generic one ate the word first. Hevy's vocabulary is
|
||||
now mapped as well, and exercises it cannot match take their body part from the name instead of
|
||||
|
||||
@@ -323,12 +323,9 @@ h4.sec{
|
||||
}
|
||||
@keyframes ping{0%{transform:scale(1);opacity:.7}100%{transform:scale(1.45);opacity:0}}
|
||||
|
||||
/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes FIRST and the
|
||||
standard property SECOND. The CSS minifier dedupes the pair down to whichever is written
|
||||
last, so with the usual order (standard first) the build shipped -webkit-backdrop-filter
|
||||
alone — and Firefox, which only understands the unprefixed property, got no blur at all,
|
||||
just the alpha. That is what made the tab bar read as see-through there. Do not "tidy"
|
||||
the order back.
|
||||
/* NOTE on every backdrop-filter pair in this file: the -webkit- line comes first and the
|
||||
standard property last, which is the order a prefixed/standard pair wants — whichever is
|
||||
written last wins in the cascade, and that should be the standard name.
|
||||
|
||||
Where backdrop-filter is genuinely unsupported there is no glass either — only the alpha,
|
||||
and the page shows through unblurred, which is the worst of both. Older Android WebViews
|
||||
|
||||
Reference in new issue
Block a user