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

Page layout metrics #43

Merged
merged 2 commits into from
Oct 25, 2018
Merged

Conversation

kaero598
Copy link
Contributor

The missing Page.getLayoutMetrics feature is the only thing that prevents taking full-size screenshots.

@kaero598 kaero598 mentioned this pull request Oct 23, 2018
@gsouf
Copy link
Member

gsouf commented Oct 25, 2018

Hi @kaero598,
that's a great first contribution, thanks!

I'll just add one more scenario in unit tests because you're testing the window size, but you don't test the case where the layout is larger than the window.

@gsouf gsouf merged commit 5c913f9 into chrome-php:master Oct 25, 2018
@gsouf
Copy link
Member

gsouf commented Oct 25, 2018

@kaero598 I added a comment, I'll wait for your response before I go ahead

@kaero598
Copy link
Contributor Author

@gsouf Nice catch. I made #45 covering this scenario.

@gsouf
Copy link
Member

gsouf commented Oct 25, 2018

@kaero598 Thanks, but I did it already, but didn't push yet as I was waiting for your answer about the LayoutMetricFailed excption

@kaero598
Copy link
Contributor Author

@gsouf That's was confusing because I didn't see your comment. Where can I find it?

@gsouf
Copy link
Member

gsouf commented Oct 25, 2018

@kaero598
Copy link
Contributor Author

Nope. I see code changes and no comments. Your link just highlights the line before exception is thrown.

@gsouf
Copy link
Member

gsouf commented Oct 25, 2018

Sorry I never used that new review tool. I guess you can see it now

gsouf added a commit that referenced this pull request Oct 25, 2018
gsouf added a commit that referenced this pull request Oct 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants