Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

--device-pixel-ratio regression #21277

Closed
fabricedesre opened this issue Jul 29, 2018 · 0 comments
Closed

--device-pixel-ratio regression #21277

fabricedesre opened this issue Jul 29, 2018 · 0 comments

Comments

@fabricedesre
Copy link
Contributor

@fabricedesre fabricedesre commented Jul 29, 2018

When using the --device-pixel-ratio option, the rendered area doesn't fill the window anymore. Tested on a xps 13 running Ubuntu 18.04.

servo-device-pixel-ration

Here on the left no ratio was specified, and on the right a ratio of 2 (which is right on my hidpi screen) is used.

#14431 seems related, but here I'm not even setting the resolution.

bors-servo added a commit that referenced this issue Aug 6, 2018
Fix page size when device-pixel-ratio is set manually

Fix #21277

We were using the user-define pixel ratio to get the device values of the winit coordinates.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21302)
<!-- Reviewable:end -->
bors-servo added a commit that referenced this issue Aug 7, 2018
Fix page size when device-pixel-ratio is set manually

Fix #21277

We were using the user-define pixel ratio to get the device values of the winit coordinates.

<!-- Reviewable:start -->
---
This change is [<img src="https://reviewable.io/review_button.svg" height="34" align="absmiddle" alt="Reviewable"/>](https://reviewable.io/reviews/servo/servo/21302)
<!-- Reviewable:end -->
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
1 participant
You can’t perform that action at this time.