diff options
| author | Fuwn <[email protected]> | 2026-05-15 11:10:35 +0000 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2026-05-15 11:10:35 +0000 |
| commit | 963d635621c0a466c2f6d5e3d65f601185975201 (patch) | |
| tree | 93aa369670ff9944df82ad2300096280e7c3fab2 /src/lib/Utility/html.ts | |
| parent | perf(images): lazy-load and async-decode off-screen imagery (diff) | |
| download | due.moe-963d635621c0a466c2f6d5e3d65f601185975201.tar.xz due.moe-963d635621c0a466c2f6d5e3d65f601185975201.zip | |
perf(transitions): narrow the universal * selector
Replace the * { transition: color/bg/border/shadow } rule with a
:where() list of the surfaces that actually receive state changes
(anchors, buttons, form controls, cards, details/summary, role=button,
role=menuitem, role=option). Every element no longer pays the
transition (especially box-shadow, the costly one) on theme switch or
parent re-paint.
Diffstat (limited to 'src/lib/Utility/html.ts')
0 files changed, 0 insertions, 0 deletions