diff options
author | bors-servo <metajack+bors@gmail.com> | 2015-07-27 17:13:02 -0600 |
---|---|---|
committer | bors-servo <metajack+bors@gmail.com> | 2015-07-27 17:13:02 -0600 |
commit | 1eeb05d914bcec1b4839b3f0be7b13c98b711783 (patch) | |
tree | f9a88d1f16f412894c7a80c1da2283790a43e0c0 /components/script/layout_interface.rs | |
parent | 4bc1db3fe85f2a1a04536f0f6045b53b1319f4bc (diff) | |
parent | 337832fde4eb82357b3ffabb121c03dfccb141fe (diff) | |
download | servo-1eeb05d914bcec1b4839b3f0be7b13c98b711783.tar.gz servo-1eeb05d914bcec1b4839b3f0be7b13c98b711783.zip |
Auto merge of #6774 - notriddle:master, r=jdm
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.
<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6774)
<!-- Reviewable:end -->
Diffstat (limited to 'components/script/layout_interface.rs')
0 files changed, 0 insertions, 0 deletions