aboutsummaryrefslogtreecommitdiffstats
path: root/src/components/script/dom/documentfragment.rs
diff options
context:
space:
mode:
authorMatt Brubeck <mbrubeck@limpet.net>2014-06-06 12:45:14 -0700
committerMatt Brubeck <mbrubeck@limpet.net>2014-06-09 15:46:51 -0700
commit89327aa5bee97100b858cd33024418bd1d149940 (patch)
tree6b99e64f3a0db75689a31e6c288221a27b0b1be8 /src/components/script/dom/documentfragment.rs
parente98b03f581912c5bd5175138a3d8dd45fc70a226 (diff)
downloadservo-89327aa5bee97100b858cd33024418bd1d149940.tar.gz
servo-89327aa5bee97100b858cd33024418bd1d149940.zip
Outside of compositor, store window size in CSS px
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