web-platform-tests/wpt

Test CSSOM resolved values for different `position` values

Open

#5,897 创建于 2017年5月11日

在 GitHub 查看
 (0 评论) (0 反应) (0 负责人)HTML (4,581 star) (2,898 fork)batch import
css-positioncssomgood first issuetype:missing-coverage

描述

https://drafts.csswg.org/cssom/#resolved-values

See https://github.com/w3c/csswg-drafts/issues/1346 for the spec issue around position: sticky, though note per the original discussion on the Chromium bug tracker position: fixed makes no more sense as currently spec'd.

http://output.jsbin.com/wunoxod/quiet is a simple test page.

Results:

position: static relative sticky absolute fixed
Chrome 58 auto 0px 0px 224px 296px
Firefox 53 auto 0px auto 224px 296px
Edge 14 auto auto n/a auto auto
Safari 10 auto auto auto auto auto

贡献者指南