w3c/csswg-drafts

[cssom-view] Window#outerWidth and Window#outerHeight don't have units specified

Open

#2016 aperta il 29 nov 2017

Vedi su GitHub
 (1 commento) (1 reazione) (0 assegnatari)HTML (545 fork)batch import
Help Wantedcssom-view-1

Metriche repository

Star
 (3546 star)
Metriche merge PR
 (Merge medio 87g 7h) (24 PR mergiate in 30 g)

Descrizione

The current definition is:

The outerWidth attribute must return the width of the client window. If there is no client window this attribute must return zero.

This doesn't state what units the width of the client window is measured using.

We probably want:

The outerWidth attribute must return the width of the client window as a number of 'CSS pixels'. If there is no client window this attribute must return zero.

Guida contributor