PaintSize: width property

Limited availability

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

The width read-only property of the PaintSize interface returns the width of the output bitmap that the author should draw.

Value

A floating point number.

Specifications

Specification
CSS Painting API Level 1
# dom-paintsize-width

Browser compatibility

desktopmobile
Chrome
Edge
Firefox
Opera
Safari
Chrome Android
Firefox for Android
Opera Android
Safari on iOS
Samsung Internet
WebView Android
WebView on iOS
width

See also