Screen geometry and pixel ratio

Screen geometry is read from four independent places: `screen.width` and `height` for the panel, `screen.availWidth` and `availHeight` for the area left after the operating system's own furniture, `window.devicePixelRatio` for the scale factor, and `screen.colorDepth` with `screen.orientation.type` for the rest. They are read separately because they are spoofed separately, and the relationships between them are what the registry checks.

Code
S11
Axis label
SCREEN GEOM
Class
observed
Group
geometry
Rules
7

What this value is, before anyone changes it

All of these are CSS-pixel values reported by the browser from the window system. The avail box is the interesting one: it is the panel minus whatever the platform reserves — a Windows taskbar, a macOS menu bar and Dock — so the difference between height and availHeight is a small signature of the declared operating system's own chrome.

`devicePixelRatio` is the ratio between CSS pixels and device pixels, and its available values are a property of the platform. Windows exposes a fixed ladder of display scales — 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 3 — while macOS produces a much smaller set of effective ratios, and page zoom moves the number on any platform.

Read procedure

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

  1. screen.width, screen.height
  2. screen.availWidth, screen.availHeight
  3. window.devicePixelRatio
  4. screen.colorDepth, screen.orientation.type

Fallback

Missing `screen.orientation` is recorded as absent; the dimensions are read independently of it.

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 is wide. Multi-monitor setups change which panel `screen` describes; scaling settings change the ratio; browser zoom changes it again and is something an ordinary person does for an ordinary reason. That last cause is why UA-SCR-02, the Windows scaling-step rule, is weighted 2 and phrased as a note.

Panel sizes also keep moving. The registry's mobile threshold is stated as a number — a shorter edge under 1200 CSS pixels — precisely so that it can be argued with and revised in the open when panels change, rather than being an unstated assumption inside a scoring function.

What a contradiction involving Screen Geom means

Seven rules read this axis. Three of them pair it with window geometry and are pure containment arithmetic: a window cannot be larger than its screen, a viewport cannot be larger than its window, and a real screen with a zero-sized window on it is what several headless configurations report.

The others pair it with a declaration. UA-SCR-01 and UACH-SCR-01 both test a mobile claim against panel size, from the User-Agent and from the client hint respectively — kept separate so that a partial spoof marks one and not the other, which is how the sheet locates the rewritten surface.

How it is spoofed, and what the spoof leaves behind

The usual method is rounding: an anti-detect profile sets the resolution to a common value to blend into a crowd. What it usually forgets is the `avail` box, because the relationship between panel size and available size depends on the claimed operating system's furniture, and a profile that declares Windows while reporting a macOS-shaped `avail` inset has produced a combination neither platform makes.

The second common residue is the pixel ratio. Copying a value from a Mac onto a claimed Windows machine produces a number that is not on the Windows scaling ladder — and the third is the window box, which is frequently left untouched while the screen is rewritten, producing a window larger than the display containing it.

Documented misreports

  • Rounded to a common resolution by anti-detect browsers, usually without adjusting `availHeight` for the OS chrome the claimed platform has.
  • A device pixel ratio copied from a Mac onto a claimed Windows machine, or a fractional ratio no Windows scaling step produces.

What a truthful reading looks like

Dimensions at least as large as the window that contains them, an `avail` box no larger than the screen, and a pixel ratio the declared OS can actually produce.

Rules referencing this signal · 7
Mark Rule Against Predicate
SCR-PTR-01
Coarse-only pointer on a very large display
POINTER MODE A device whose only pointer is coarse has a display narrower than 1600 CSS pixels in its shorter dimension.
SCR-WIN-01
Window larger than its screen
WINDOW GEOM window.outerWidth and outerHeight do not exceed screen.width and screen.height.
SCR-WIN-02
Viewport larger than its window
WINDOW GEOM window.innerWidth and innerHeight do not exceed outerWidth and outerHeight.
SCR-WIN-03
A screen with no window on it
WINDOW GEOM A non-zero screen implies a non-zero window.
UA-SCR-01
Mobile OS on a desktop-sized display
UA PLATFORM A User-Agent declaring Android or iOS implies a display whose shorter dimension is under 1200 CSS pixels.
UA-SCR-02
Windows against its display-scaling steps
UA PLATFORM A User-Agent declaring Windows implies a devicePixelRatio drawn from the Windows scaling steps: 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5, 3.
UACH-SCR-01
Mobile flag on a desktop-sized display
UA-CH MOBILE navigator.userAgentData.mobile true implies a display whose shorter dimension is under 1200 CSS pixels.

What this axis is dimensioned against

SCREEN GEOM 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 SCR-WIN-01 at weight 4 — window larger than its screen.

Where this sits on the sheet

Row and column S11 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. S11 is an observed signal in the geometry group, and the most the registry will say about it is that one of its 7 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 screen width and availWidth?
`width` is the whole panel; `availWidth` is what remains after the operating system's own furniture — a taskbar, a menu bar, a Dock. The size of that difference is characteristic of the platform being claimed.
What devicePixelRatio values are normal on Windows?
Windows exposes a fixed ladder of display scales: 1, 1.25, 1.5, 1.75, 2, 2.25, 2.5 and 3. A ratio off that ladder is usually page zoom or a value copied from another platform, which UA-SCR-02 records at weight 2.
How large can a phone or tablet screen be?
The registry uses a stated threshold of 1200 CSS pixels on the shorter edge, which no shipping phone or tablet exceeds — the largest iPad reports 1024. The number is published so it can be argued with rather than hidden inside a score.
Can browser zoom cause a screen geometry mark?
It can move `devicePixelRatio` off the platform ladder, and the registry weights that case at 2 for exactly that reason. It does not move the containment rules — the window geometry page covers those.

Preventing this class of mark

Geometry is produced by the window manager at the moment of measurement, which is after launch by definition — a pre-launch gate cannot check it, and this sheet says so plainly rather than implying otherwise. What can be got right beforehand is that the geometry, the platform declaration and the platform's own furniture were decided together, which is a property of how the profile was assembled: Donut Browser assembles it in the engine rather than patching it in the page.

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.