w3c/csswg-drafts

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

Open

#2.016 aberto em 29 de nov. de 2017

Ver no GitHub
 (1 comment) (1 reaction) (0 assignees)HTML (545 forks)batch import
Help Wantedcssom-view-1

Métricas do repositório

Stars
 (3.546 stars)
Métricas de merge de PR
 (Mesclagem média 87d 7h) (24 fundiu PRs em 30d)

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.

Guia do colaborador