-
-
Notifications
You must be signed in to change notification settings - Fork 7
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
Get width and height from JavaScript evaluation. #30
Conversation
Hi, Thanks for this! I would like to keep |
This is also something I would like to test on my projects to see what difference it would make |
Makes sense. Ok, I will add the |
Sorry I don't think I made myself clear, I think the |
Ah I agree. That makes sense. Will update later. |
Is this ready to merge now? |
Hi, Thanks for the updates. I am just going to try this build with my existing projects to see what happens as I am curious about how the javascript size and devcards selector will behave, and also to see what existing users can expect when they upgrade. I'll try to do this tomorrow. Cheers |
Ok, with default settings, the only change they should see would be that the bug is actually fixed; i.e., the screenshots will be sized to content in the vertical direction. That will likely break tests where their content exceeded the vertical extent of one page (but that's most likely a good thing). They will either need to update their reference images or change the config to disable sizing to content in the vertical direction. Everything else should be as expected / normal / least surprise. |
* Get width and height from JavaScript evaluation * New option to choose which dom element to size to Fixes oliyh#29 Co-authored-by: Jonathan Leonard <johanatan@gmail.com>
Fixes #29