diff options
author | bors-servo <release+servo@mozilla.com> | 2014-06-09 18:52:41 -0400 |
---|---|---|
committer | bors-servo <release+servo@mozilla.com> | 2014-06-09 18:52:41 -0400 |
commit | f359bc93376a42a6dfefd0e2759d660d751a35aa (patch) | |
tree | 9d7bdcdd70932904d7f2c8c34cc551906ee1baca /src/components/script/dom/documentfragment.rs | |
parent | eee072f5d5163cbe9b8c2e7735c6eca17bc5d3f9 (diff) | |
parent | 89327aa5bee97100b858cd33024418bd1d149940 (diff) | |
download | servo-f359bc93376a42a6dfefd0e2759d660d751a35aa.tar.gz servo-f359bc93376a42a6dfefd0e2759d660d751a35aa.zip |
auto merge of #2624 : mbrubeck/servo/units, r=pcwalton
This fixes an issue where the CSS viewport was too large on high-DPI displays
because it was set to the window size in device pixels, instead of px. This
patch ensures that the window size is converted from device pixels to px
before being passed to script/layout code.
The Window trait now exposes the window size in both device pixels and
density-independent screen coordinates, with clearer method names.
Diffstat (limited to 'src/components/script/dom/documentfragment.rs')
0 files changed, 0 insertions, 0 deletions