question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Filmstrip viewport on HDPi screens?

See original GitHub issue

On my Retina macbook, using phantomas http://www.filamentgroup.com/ --film-strip --viewport=320x480 --engine=webkit the final screenshot outputs at the correct dimension (320), but the viewport shows 640px of content in that space.

For example, how filamentgroup.com looks (at a 320px viewport in Chrome):

image

But the --viewport=320x480 film strip looks like this in phantomas:

image

This seems to match what a 640px viewport looks like in Chrome.

Issue Analytics

  • State:closed
  • Created 9 years ago
  • Comments:5 (4 by maintainers)

github_iconTop GitHub Comments

1reaction
rosswilsoncommented, Jul 31, 2017

I’ve stumbled across this issue today and have submitted a PR (#709) to make the zoom factor an optional parameter.

0reactions
macbrecommented, Jul 31, 2017

Thanks, @rosswilson !

Read more comments on GitHub >

github_iconTop Results From Across the Web

Optimising images for better LCP web vitals scores - ITNEXT
As a rule of thumb try not to use images that are more than 2 times bigger than the size they are going...
Read more >
Film Strip - 4ourth Mobile Design Pattern Library
The Film Strip has multiple screens, adjacent to the one in the viewport. ... such as images, you may fit the entire image...
Read more >
Photography - Daniel P. Berrangé
The this is mostly a bug fix release, but there was a little feature work on the film strip viewer widget. It has...
Read more >
third_party/blink/web_tests/TestExpectations - chromium/src
# The following tests pass or fail depending on the underlying protocol (HTTP/1.1 vs HTTP/2). # The results of failures could be also...
Read more >
Collect items for GNOME 40 release notes (#27) · Issues · Teams ...
Workspaces are now horizontal and the dash is along the bottom screen edge. Workspaces appear as a large filmstrip along the center of...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found