Skip to content

Commit

Permalink
servo: Merge #18422 - style: Remove stale todo about handling scrollb…
Browse files Browse the repository at this point in the history
…ars in viewport units (from emilio:stale-todo); r=bholley

This is effectively not going to happen, per
w3c/csswg-drafts#1766

Source-Repo: https://github.com/servo/servo
Source-Revision: 9c0abfea239077bc490ed8a2d4a7c32ba782942d

UltraBlame original commit: 3352077c1e395a718b681461716823158fcf9282
  • Loading branch information
marco-c committed Oct 1, 2019
1 parent 5f7b0c1 commit 08bd75f
Showing 1 changed file with 2 additions and 5 deletions.
7 changes: 2 additions & 5 deletions servo/components/style/gecko/media_queries.rs
Original file line number Diff line number Diff line change
Expand Up @@ -156,11 +156,8 @@ impl Device {


pub fn au_viewport_size(&self) -> Size2D<Au> {
unsafe {

let area = &self.pres_context().mVisibleArea;
Size2D::new(Au(area.width), Au(area.height))
}
let area = &self.pres_context().mVisibleArea;
Size2D::new(Au(area.width), Au(area.height))
}


Expand Down

0 comments on commit 08bd75f

Please sign in to comment.