aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/documentfragment.rs
diff options
context:
space:
mode:
authorbors-servo <release+servo@mozilla.com>2014-06-09 18:52:41 -0400
committerbors-servo <release+servo@mozilla.com>2014-06-09 18:52:41 -0400
commitf359bc93376a42a6dfefd0e2759d660d751a35aa (patch)
tree9d7bdcdd70932904d7f2c8c34cc551906ee1baca /src/components/script/dom/documentfragment.rs
parenteee072f5d5163cbe9b8c2e7735c6eca17bc5d3f9 (diff)
parent89327aa5bee97100b858cd33024418bd1d149940 (diff)
downloadservo-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