v130 · dom
meter element fallback styles
With this change <meter> elements with `appearance: none` will have a reasonable fallback style that matches Safari and Firefox instead of just disappearing from the page. As well developers will be able to custom style the <meter> elements.
concepts
-
<meter> with author styles
UA
<meter>next to an authored one withappearance: none. Sliders for value, low, high, optimum — both move; the authored one no longer renders at 0×0. -
Branded themes
Four real-world themes built from
::-webkit-meter-*and::-moz-meter-barpseudos: battery with terminal nub, audio peak meter, water tank, storage strip with notches. All driven from a single value slider. -
Forced-colors audit
Three themes (currentColor outline, branded gold/black, pure system) rendered side by side in four colour contexts (default, light, dark, forced-colors). Per-cell WCAG AA contrast computation and a written verdict for each theme's accessibility trade-off.
-
Dashboard meters
Six system-monitor widgets (CPU, memory, disk, battery, temperature, network) each using
::-webkit-meter-optimum-value,::-webkit-meter-suboptimum-value, and::-webkit-meter-even-less-good-valueto colour-code healthy, warning, and critical states. -
Animated Meter
A simulated download manager with three animated
<meter appearance: none>elements. CSS transitions on::-webkit-meter-optimum-valuedrive smooth fill animations; JS updates the value attribute to simulate download progress. -
Segmented Meter
Three segmented meter designs — battery bars, audio VU levels, and rating — built by layering a
repeating-linear-gradientgap pattern over<meter appearance: none>. Each design has a value slider and shows how a single CSS trick creates distinct visual styles.
why it shipped
Without this change, <meter> elements with `appearance: none` become invisible unlike Safari and Firefox which provide a reasonable fallback style. With this change the <meter> elements with `appearance: none` will still be visible with a fall back style similar to Safari and Firefox and will also allow developers to style the meter parts.