navigator.devicePosture
Folded or flat: an interface for foldable hardware that reports whether the screen is currently bent. Rare, new, and specific about the device you own.
Checking the browser you are reading this in…
Entry in question 2: What it says about your machine
What it is
One word — currently either the folded state or the flat one — describing the physical posture of a screen that can bend. It exists so a page can move its content out of the crease when a device is half open.
What a site can do with it
The reason it appears on a leaflet about what your browser says is that its presence, not its value, is the signal. A browser that has this interface at all is running on hardware where folding is a possibility, which is a much smaller set of devices than any other field here selects.
Check it yourself
Open your browser's developer tools, go to the console, and paste this. Nothing is sent anywhere; the answer comes from the browser you are reading this in.
navigator.devicePosture?.type The full path recorded by the walk is navigator.devicePosture, and that is the string the leaflet prints beside this entry.
What the answer is on an ordinary browser
Written by hand for each of the three engines, because a table generated from one sentence would be worth nothing to the person reading it.
- Chrome
- Present from Chrome 125 onwards, on all platforms rather than only foldable ones.
- Firefox
- Absent.
- Safari
- Absent.
If your browser is not present, the leaflet prints this instead of dimming the line: Not present. Sites checking whether this screen folds find nothing.
Its presence is uncommon: this interface exists for foldable hardware, so a browser exposing it is telling a site something about the physical shape of the machine that almost nothing else on this page reveals.
Where it sits in the leaflet
This is one of 9 entries in question 2, what it says about your machine. The leaflet reads all 42 entries in one press and prints each answer beside the question, with the property name next to it so you can check any line.