Screen
Generated from idl/html.webidl when the site was built at 7aa23e2.
Screen is an interface in idl/html.webidl, exposed in Window. What it does is on MDN; this page says what niso has of it.
niso’s screen is its viewport.
Status
Section titled “Status”The web features its members belong to, each with its Baseline status on the web and how much of the feature’s WPT suite passes in niso (see Web platform support).
| Feature | On the web | In niso | Members |
|---|---|---|---|
| Screen | Widely available | Full 16 of 16 subtests pass | 7 |
Members
Section titled “Members”availWidth
Section titled “availWidth”readonly attribute long availWidth;int32_t niso_screen_get_avail_width(niso_dom* dom, niso_handle self, int32_t* out);availHeight
Section titled “availHeight”readonly attribute long availHeight;int32_t niso_screen_get_avail_height(niso_dom* dom, niso_handle self, int32_t* out);readonly attribute long width;int32_t niso_screen_get_width(niso_dom* dom, niso_handle self, int32_t* out);height
Section titled “height”readonly attribute long height;int32_t niso_screen_get_height(niso_dom* dom, niso_handle self, int32_t* out);colorDepth
Section titled “colorDepth”readonly attribute unsigned long colorDepth;int32_t niso_screen_get_color_depth(niso_dom* dom, niso_handle self, uint32_t* out);pixelDepth
Section titled “pixelDepth”readonly attribute unsigned long pixelDepth;int32_t niso_screen_get_pixel_depth(niso_dom* dom, niso_handle self, uint32_t* out);Not in niso yet
Section titled “Not in niso yet”Members the web has, by the BCD keys web-features 3.45.0 lists, that idl/ doesn’t declare. The list is partial: web-features lists only the keys it maps to a feature.
change event(Window management)isExtended(Window management)orientation(Screen orientation)