Skip to content

Check if naturalWidth / naturalHeight works w/ DPR - #6774

Merged
bors-servo merged 1 commit into
servo:masterfrom
notriddle:master
Jul 28, 2015
Merged

bors-servo merged 1 commit into
servo:masterfrom
notriddle:master

Conversation

@notriddle

Copy link
Copy Markdown
Contributor
$ ./mach run --device-pixel-ratio=1 tests/html/get-natural-height.html
ALERT: width: 600, height: 254
$ ./mach run --device-pixel-ratio=2 tests/html/get-natural-height.html
ALERT: width: 600, height: 254
$ ./mach run --device-pixel-ratio=.5 tests/html/get-natural-height.html
ALERT: width: 600, height: 254

It doesn't. Answers #6769.

Review on Reviewable

    $ ./mach run --device-pixel-ratio=1 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254
    $ ./mach run --device-pixel-ratio=2 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254
    $ ./mach run --device-pixel-ratio=.5 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254

It doesn't. Answers #6769.
@highfive highfive added the S-awaiting-review There is new code that needs to be reviewed. label Jul 25, 2015
@hoppipolla-critic-bot

Copy link
Copy Markdown

Critic review: https://critic.hoppipolla.co.uk/r/5660

This is an external review system which you may optionally use for the code review of your pull request.

In order to help critic track your changes, please do not make in-place history rewrites (e.g. via git rebase -i or git commit --amend) when updating this pull request.

@jdm

jdm commented Jul 27, 2015

Copy link
Copy Markdown
Member

@bors-servo: r+

Thanks!

@bors-servo

Copy link
Copy Markdown
Contributor

📌 Commit 337832f has been approved by jdm

@jdm jdm added S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI. and removed S-awaiting-review There is new code that needs to be reviewed. labels Jul 27, 2015
@bors-servo

Copy link
Copy Markdown
Contributor

⌛ Testing commit 337832f with merge 1eeb05d...

bors-servo pushed a commit that referenced this pull request Jul 27, 2015
Check if naturalWidth / naturalHeight works w/ DPR

    $ ./mach run --device-pixel-ratio=1 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254
    $ ./mach run --device-pixel-ratio=2 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254
    $ ./mach run --device-pixel-ratio=.5 tests/html/get-natural-height.html
    ALERT: width: 600, height: 254

It doesn't. Answers #6769.

<!-- Reviewable:start -->
[<img src="https://reviewable.io/review_button.png" height=40 alt="Review on Reviewable"/>](https://reviewable.io/reviews/servo/servo/6774)
<!-- Reviewable:end -->
@bors-servo

Copy link
Copy Markdown
Contributor

💔 Test failed - linux2

@jdm

jdm commented Jul 28, 2015

Copy link
Copy Markdown
Member

@bors-servo

Copy link
Copy Markdown
Contributor

⚡ Previous build results for android, gonk, linux1, linux3, mac2, mac3 are reusable. Rebuilding only linux2, mac1...

@bors-servo

Copy link
Copy Markdown
Contributor

☀️ Test successful - android, gonk, linux1, linux2, linux3, mac1, mac2, mac3

@bors-servo bors-servo mentioned this pull request Jul 28, 2015
1 of 3 tasks
@bors-servo
bors-servo merged commit 337832f into servo:master Jul 28, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

S-awaiting-merge The PR is in the process of compiling and running tests on the automated CI.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants