SCR-WIN-02
Viewport larger than its window
This rule records a deviation when `innerWidth` or `innerHeight` exceeds the corresponding outer dimension. The viewport sits inside the window frame, so it is not normally larger — but full-screen modes, page zoom rounding and collapsing mobile toolbars all break the relation honestly, which is why the weight is 2.
Predicate
window.innerWidth and innerHeight do not exceed outerWidth and outerHeight.
A pair satisfying this statement leaves the cell blank. A pair violating it is marked at weight 2 and entered in the margin notes with both observed values.
Why these two values are coupled
The outer box is the window including the browser's own chrome; the inner box is the document viewport inside it. In a normal desktop window the difference is the toolbar and the frame, a few dozen pixels, and the inner box is always the smaller of the two.
The rule steps aside where another rule owns the case: when the outer box is zero it returns consistent, because a zero-sized window is the degenerate state that the third geometry rule handles rather than an inversion of the containment relation.
Why this weight
The viewport is inside the window frame, so it is never larger. Weighted 2 because full-screen and kiosk modes make the two equal, page zoom shifts the inner box in ways that round awkwardly, and several mobile browsers report an inner height larger than the outer while their toolbars are collapsed.
Weight 2 requires: A named honest cause, plus a reason the combination is uncommon. — the full weighting scale.
What a consistent pair looks like
`inner 1512×829` inside `outer 1512×944`.
The honest configuration that produces this mark
Three, all common. Full-screen and kiosk modes make the two boxes equal, and rounding can push the inner box a pixel over. Page zoom scales the viewport in CSS pixels in ways that do not divide evenly. And several mobile browsers report an inner height larger than the outer while their toolbars are collapsed, which is deliberate behaviour rather than a bug.
What to do when this cell is marked
Check the magnitude of the difference. A one- or two-pixel inversion is rounding; a large one is a value that was set. The sheet does not encode that distinction as a threshold, because a threshold would be a number nobody could justify, so it is left as a judgement the reader makes with the numbers in front of them.
The predicate is symmetric. It says SCREEN GEOM and WINDOW GEOM cannot both be truthful; it never says which of the two is wrong, and no amount of re-running it will make it say so. Turning that into a directional question means assuming one of them — declaring a datum — and reading how much the assumption explains.
Documented misreports in each operand
SCREEN GEOM
- 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.
WINDOW GEOM
- Left untouched while `screen` is spoofed, producing a window larger than the screen containing it.
- Reported as 0×0 by some headless configurations.
Version
First shipped in method v1.0.0. Current at v1.5.0. This rule has not been changed since it shipped.
Other rules over the same pair
- SCR-WIN-01 — Window larger than its screen, weight 4. A cell takes the highest weight among the rules that mark it, and the margin notes list each mark separately.
- SCR-WIN-03 — A screen with no window on it, weight 3. A cell takes the highest weight among the rules that mark it, and the margin notes list each mark separately.
Reading this clause in context
SCR-WIN-02 is one of 7 predicates in the registry carrying weight 2, and it is evaluated only when SCREEN GEOM and WINDOW GEOM were both readable. Where either could not be read, this cell is drawn with hidden lines rather than left blank, because an unevaluated pair has not passed. Both read procedures are published in full: Screen geometry and pixel ratio, an observed signal, and Window outer and inner geometry, an observed one.
A soft deviation is not a score, and no score, percentile or rarity figure exists anywhere on this site. To see whether this predicate can be evaluated on your browser at all, run the audit; to see whether a configuration change moves this cell, save a baseline and re-run.
Citing this rule
Cite it as SCR-WIN-02, fingerprintaudit.com method v1.0.0. Rule IDs are stable from v1.4.0 onward and are never reused for a different predicate, so this identifier will keep resolving to this statement. Citation format · the registry as JSON.
- Why can the viewport be larger than the window?
- Full-screen and kiosk modes equalise them and rounding can tip the balance; page zoom scales the viewport unevenly; and several mobile browsers report a larger inner height while their toolbars are collapsed.
- Why is this only weight 2?
- Because all three of those causes are ordinary and frequent. Weight 2 means a named everyday configuration produces the mark, which is exactly the situation here.
- What happens when the outer window is zero?
- This rule returns consistent and leaves the case to SCR-WIN-03, which owns the degenerate state of a display with no window on it.
Preventing this contradiction
Viewport geometry belongs to the moment of measurement, which is after any launch-time check by definition. The instrument records the inversion, names its ordinary causes, and does not inflate a rounding artefact into a finding.
Donut Browser is open source under AGPL-3.0, has no analytics SDK anywhere in its desktop app or its Rust crate, and ships for macOS, Windows and Linux. No detection or benchmark results exist in its repository, so none are quoted here. Download Donut Browser · which contradictions a pre-launch gate actually covers.