w3c/csswg-drafts

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

Open

#2 016 ouverte le 29 nov. 2017

Voir sur GitHub
 (1 commentaire) (1 réaction) (0 assignés)HTML (545 forks)batch import
Help Wantedcssom-view-1

Métriques du dépôt

Stars
 (3 546 stars)
Métriques de merge PR
 (Merge moyen 87j 7h) (24 PRs mergées en 30 j)

Description

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.

Guide contributeur