diff options
author | Michael Howell <michael@notriddle.com> | 2015-07-25 15:38:49 -0700 |
---|---|---|
committer | Michael Howell <michael@notriddle.com> | 2015-07-25 15:41:38 -0700 |
commit | 337832fde4eb82357b3ffabb121c03dfccb141fe (patch) | |
tree | 5f960fb5cb27fd13864d53564f66794332348c09 /components/script | |
parent | 3af6992151b087412b2dd460d20b34fb9fc2f28f (diff) | |
download | servo-337832fde4eb82357b3ffabb121c03dfccb141fe.tar.gz servo-337832fde4eb82357b3ffabb121c03dfccb141fe.zip |
Check if naturalWidth / naturalHeight works w/ DPR
$ ./mach run --device-pixel-ratio=1 tests/html/get-natural-height.html
ALERT: width: 600, height: 254
$ ./mach run --device-pixel-ratio=2 tests/html/get-natural-height.html
ALERT: width: 600, height: 254
$ ./mach run --device-pixel-ratio=.5 tests/html/get-natural-height.html
ALERT: width: 600, height: 254
It doesn't. Answers #6769.
Diffstat (limited to 'components/script')
0 files changed, 0 insertions, 0 deletions