PaintSize

Limited availability

This feature is not Baseline because it does not work in some of the most widely-used browsers.

We’d love to hear your thoughts on the next set of proposals for the JavaScript language. You can find a description of the proposals here.
Please take two minutes to fill out our short survey.

The PaintSize interface of the CSS Painting API represents the size of the output bitmap that the author should draw.

Instance properties

PaintSize.height Read only

Returns the height of the output bitmap that the author should draw.

PaintSize.width Read only

Returns the width of the output bitmap that the author should draw.

Specifications

Specification
CSS Painting API Level 1
# paintsize

Browser compatibility

See also