Pointer and hover media features

The pointer mode is read with `matchMedia` against four CSS media features — `pointer`, `any-pointer`, `hover` and `any-hover` — each queried for every value it can take rather than tested for a single expected one. These are the hardest values on the sheet to rewrite from inside a page, because they are resolved by the compositor rather than answered by JavaScript, and that asymmetry is the reason they are on the sheet at all.

Code
S10
Axis label
POINTER MODE
Class
observed
Group
input
Rules
5

What this value is, before anyone changes it

`pointer` describes the primary pointing device and `any-pointer` describes all available ones; the same split applies to `hover` and `any-hover`. A phone answers coarse and none; a desktop answers fine and hover; a touchscreen laptop answers fine for the primary and lists coarse under `any-pointer` as well.

The evaluation happens in the browser's style engine against the input devices the platform reported to it. `matchMedia` from JavaScript only asks for the result; it does not participate in producing it, which is why redefining things on `navigator` does not move these answers.

Read procedure

In this order. The first call that answers wins; the sheet records which one did.

  1. matchMedia('(pointer: fine|coarse|none)')
  2. matchMedia('(any-pointer: fine|coarse|none)')
  3. matchMedia('(hover: hover)') and '(any-hover: hover)'

Fallback

A browser that answers no pointer query at all is recorded unread.

When nothing answers, the signal is recorded as not read and its entire row and column are drawn with hidden lines. That is a different fact from consistency and the sheet never collapses the two: a rule that could not run has not passed.

Why two honest browsers disagree about it

Honest variation follows real input hardware. Attaching a stylus or a trackpad to an Android tablet changes the primary pointer to fine; a convertible changes its answers when the keyboard is folded away; a desktop with a touchscreen legitimately reports both modes at once. The registry weights every rule that reads this axis at 3 or 4 rather than 5 for exactly this reason.

Emulation is the other source of divergence, and it cuts both ways. A device-emulation mode in developer tools changes the media features without changing the User-Agent, or changes the User-Agent without changing the media features, depending on which control was used. Neither is deceptive; both mark cells.

What a contradiction involving Pointer Mode means

Five rules read this axis and each pairs it with a different kind of claim. TOUCH-PTR-01 and TOUCH-PTR-02 pair it with the touch count from both directions. UA-PTR-01 pairs it with the declared platform and UACH-PTR-01 with the client-hint mobile flag. SCR-PTR-01 pairs it with display size at weight 1, for the case of a touch-only device larger than any shipping tablet.

In every one of those pairs this axis is the harder half to forge. That does not make it the truthful half — the rules are symmetric and the sheet never asserts which operand lies — but it is the reason declaring the pointer mode as your datum is often the most informative move available. If assuming the media features are truthful explains most of the marks at once, that is a cheap hypothesis worth writing down.

How it is spoofed, and what the spoof leaves behind

Rewriting media-query results from a page means intercepting `matchMedia` and the `MediaQueryList` objects it returns, and doing it consistently enough that CSS itself agrees — because a stylesheet can ask the same question without going through JavaScript at all. That is a materially harder job than setting a property, and it is frequently skipped.

When it is skipped, the residue is a mismatch with the touch count, which is the easy value in the same pair. When it is done partially — the JavaScript path patched and the CSS path not — the disagreement moves inside the browser rather than between two of its APIs, which is beyond what this sheet's fourteen axes measure and is stated as a limit rather than papered over.

Documented misreports

  • Media features are resolved by the compositor rather than by JavaScript, so they are among the hardest values to patch from the page — which is exactly what makes them useful as a check on `maxTouchPoints`.
  • A device-emulation mode in DevTools changes these and not the UA, or the UA and not these.

What a truthful reading looks like

`coarse` with `any-hover: none` on a phone; `fine` with `hover: hover` on a pointer machine; both present on a convertible.

Rules referencing this signal · 5
Mark Rule Against Predicate
TOUCH-PTR-01
Touch points without a coarse pointer
TOUCH POINTS Non-zero maxTouchPoints implies that `any-pointer: coarse` matches.
TOUCH-PTR-02
Coarse primary pointer without touch points
TOUCH POINTS A primary pointer of `coarse` implies non-zero maxTouchPoints.
UA-PTR-01
Mobile OS with a fine pointer
UA PLATFORM A User-Agent declaring Android or iOS implies a primary pointer of `coarse`.
UACH-PTR-01
Mobile flag with a fine pointer
UA-CH MOBILE navigator.userAgentData.mobile true implies a primary pointer of `coarse`.
SCR-PTR-01
Coarse-only pointer on a very large display
SCREEN GEOM A device whose only pointer is coarse has a display narrower than 1600 CSS pixels in its shorter dimension.

What this axis is dimensioned against

POINTER MODE is paired with 4 other signals by the registry, and the pairing is where the meaning is: on its own this reading is a value, and a value cannot contradict anything. The heaviest rule touching it is TOUCH-PTR-01 at weight 4 — touch points without a coarse pointer.

Where this sits on the sheet

Row and column S10 of the matrix. Clicking that label — or pressing D with it focused — declares this signal as the datum, which means assume this reading is truthful and re-resolve every deviation on the sheet against that assumption. If declaring it leaves few deviations open, this signal is a cheap explanation for what the sheet found. That is a hypothesis you chose, not a fact the sheet established — what a datum is.

Nothing here is a score. S10 is an observed signal in the input group, and the most the registry will say about it is that one of its 5 rules found two readings that cannot both be true — the weighting scale states what evidence each weight is allowed to claim before a rule may claim it. Run the audit to see which of those rules can be evaluated on your browser at all, or read every signal in the index.

Clause notes
What is the difference between pointer and any-pointer?
`pointer` describes the primary pointing device and `any-pointer` describes every available one. A touchscreen laptop answers `fine` for the primary and also matches `coarse` under `any-pointer`, which is why the audit records both.
Why are pointer media features hard to spoof?
Because they are resolved by the compositor against the input devices the platform reported, not answered by JavaScript. A page can intercept `matchMedia`, but CSS can ask the same question without going through JavaScript at all.
Can a phone report a fine pointer honestly?
Yes — an Android tablet with an attached stylus or trackpad does, and so does desktop-site mode. That is why UA-PTR-01 is weighted 3 rather than treated as a hard contradiction.
Should I declare the pointer mode as my datum?
It is often the most informative choice, because it is the harder half of every pair it appears in. Declaring it means assuming the compositor is truthful and reading how many other marks that assumption explains — what a datum declaration actually asserts.

Preventing this class of mark

The compositor is below the page, and values produced below the page are the ones that make a fingerprint hold together or fall apart. That is the whole argument for changing a fingerprint at the engine level rather than in page JavaScript, which is what Donut Browser's Wayfern Chromium fork does — the source is AGPL-3.0, so where the change is made can be read rather than taken on trust.

Donut Browser is AGPL-3.0 and desktop only, for macOS, Windows and Linux; there is no mobile build and there are no detection-test results anywhere in its repository, so none are quoted here. Download Donut Browser · what a pre-launch consistency gate does and does not cover.

FPA-CM-01 · REV D Cross-signal consistency matrix
Method ver1.5.0
Collector ver2
Rules50
Signals18
Datum—
Result—
Sheet1/1
Scale1:1
Pairs153
Governed38
Drawn—
Date—
Remedy

Contradictions of this class are prevented before launch, not repaired after. Donut Browser refuses to start a profile whose proxy exit geography, timezone and language contradict its fingerprint — the pre-launch consistency gate.