Status: Unconfirmed
Owner: ----
Labels: Cr-Platform-Extensions Pri-2 Via-Wizard Type-Bug OS-Windows
New issue 248664 by qufighter: Extensions: captureVisibleTab sometimes
captures the scrollbar
http://code.google.com/p/chromium/issues/detail?id=248664
UserAgent: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML,
like Gecko) Chrome/29.0.1530.2 Safari/537.36
Steps to reproduce the problem:
1. Run captureVisibleTab extension on page that has the CSS rule:
img{max-width:100%;}
2. Notice that the scroll bar is captured as part of the image.
3. Notice that the entire image has been symmetrically shrunken, no longer
an exact capture of the tab contents.
What is the expected behavior?
The captured image shall not be shrunken. The captured image shall not
contain the scroll bar.
What went wrong?
The CSS rule img{max-width:100%;} must be effecting the screenshot capture
API somehow.
WebStore page:
https://chrome.google.com/webstore/detail/capturevisibletab-scroll/jloaahckmccfdleceeoejjnannlhnbed
Did this work before? No
Chrome version: 29.0.1530.2 Channel: dev
OS Version: 6.1 (Windows 7, Windows Server 2008 R2)
img{max-width:100%;} is CSS that makes websites phone friendly since images
will shrink to fit the window width, so it is somewhat prevalent around the
web these days.
One example page is the sub-domain error page here:
http://zzz.laponiapictures.com/
The captured snapshot contains the scroll bar, making it impossible to
overlay the snapshot consistently.
For many extensions it is pretty critical to freeze a snapshot of the page
in place so that users are not confused by the fact they are picking form a
screenshot and not the ever changing webpage.
Temporary workaround for extension developers:
over-ride the page CSS
--
You received this message because this project is configured to send all
issue notifications to this address.
You may adjust your notification preferences at:
https://code.google.com/hosting/settings