w3c/csswg-drafts
在 GitHub 查看[cssom-view] Window#outerWidth and Window#outerHeight don't have units specified
Open
#2,016 建立於 2017年11月29日
Help Wantedcssom-view-1
倉庫指標
- Star
- (3,546 star)
- PR 合併指標
- (平均合併 87天 7小時) (30 天內合併 24 個 PR)
描述
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.