- Type: one of the values below
The state of the
window. It can have one of the following values:
- The window is maximized, and occupies the full size of the screen.
- The window appears in a normal state at the desired size.
This attribute is used to save and restore the state of a window (together with the
persist attribute) and for CSS styles (e.g. to hide the resizer grippy on maximized windows).
sizemodeattribute is not updated. This is done so that if a window is closed while minimized, its persisted
sizemodeattribute wouldn't be
Note: Prior to Gecko 13.0, this did not work on Mac OS X.
Note: Prior to Gecko 1.9.2, this was not always reliable.
Issues with this attribute (at least on Firefox 3):
sizemodeis only updated when the value of the
persistattribute on the root element (such as