w3c/csswg-drafts
Auf GitHub ansehen[cssom-view] Window#outerWidth and Window#outerHeight don't have units specified
Open
#2.016 geöffnet am 29. Nov. 2017
Help Wantedcssom-view-1
Repository-Metriken
- Stars
- (3.546 Stars)
- PR-Merge-Metriken
- (Durchschn. Merge 87T 7h) (24 gemergte PRs in 30 T)
Beschreibung
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.