I am having a strange issue with an img that only renders when the browser gets resized or dev tools are opened. The img has srcset and sizes attributes, and is inside a polymer template. It displays normally whithout the attributes, or outside of the Polymer shadow dom. The issue came up with Chrome 39, I believe, and is restricted to Google Chrome, where there are no polyfills at work anymore. There are no errors in the console, naturally, status is 200 ok there. I am having no issues in Firefox or IE. My polymer version is 0.5.0, and I reported the issue at the Polymer github page, but maybe there is something else to it. Lex
Responsive image doesn't render on page load in Chrome, renders on browser resize or opening dev tools
289 views Asked by Alex Kimoto At
1
There are 1 answers
Related Questions in IMAGE
- Golang lambda upload image into s3 static website
- Put an image behind the title in a WP, WooCommerce "shop" page
- How to create an JSOUP element from byte array image (Load from Database)
- Cloudflare not respecting Cache-Control
- Sending multiple images and data in a single angular observable
- Create and combine several images into a single image for my react native App
- Should I compress images in java backend before sending to frontend?
- Javascript Place Image Where User Clicks
- Whitespace in document has a bottom border remnant or some other line at the bottom of the whitespace
- Sony Spresense Camera Board
- After completely installation and done all the work i am getting Permission denied error do any one have solution
- HTML page on NAS server image not showing on mobile phone
- mouse coordinates in image go below 0 and above width
- Why are the css images or js not loading in my laravel project?
- Python pillow library text align center
Related Questions in GOOGLE-CHROME
- How to tweak the security policy of Chrome, in order to run "unsafe" snippets in the console?
- Is it possible to manipuate 3rd party Chrome Extensions Network Reqeuests?
- undetected_chromedriver urllib.error.URLError
- Load testing k6 browser + docker
- Editor texto estilo WYSIWYG
- NodeJS crashing chrome browser
- Difficulty Accessing HTTP URLs/IP Addresses Due to Browser Redirecting to HTTPS: Seeking Solutions
- Chrome extension MV3: persistent service worker die after wake up from hibernation
- Attempting to Bundle a Require Command For a Chrome Extension
- Launch URL from C# and detect when browser is closed
- Python selenium scrap data from dynamic website table
- Google Chrome is consuming a lot of CPU on a video call?
- Component drawing error React App on Android + Chrome
- Chrome Selenium CDP Bidi API - Next Commands sended to Target Session have no effect while the initial one does work
- Devtools not working when i try to inspect elements for selenium python it goes to previous page
Related Questions in SHADOW-DOM
- How to listen for LightDOM Label "FOR=" events via ShadowDOM Custom Element
- Userscript to style Shadow DOM elements of arbitrary website
- Unable to locate parent of shadowded DOM element on https://www.bahn.de
- Why can't I click on button within a embed element using Selenium C#?
- Can fonts be imported from within the shadow DOM with a `<style>` tag?
- How to style a custom HTML element based on child node selector(s), using a shadow DOM attached stylesheet?
- How correct import styles
- Styling swiper web component navigation buttons
- Removing an enclosing div class with jQuery when matching within open shadow-root
- How to change the "cancel(erase)" X icon in the Guide Search input field with another one from my imported library
- How can we make external stylesheets load in the shadow DOM?
- Style an element inside a shadow dom
- FireFox events do not bubble or propagate from shadow to light DOM
- Inside shadow dom ag-grid column filter key events like escape and tab keys are not working
- How can I programmatically click on elements using custom event listeners?
Related Questions in SRCSET
- srcset in webkit in xcode
- Why does the browser doesn't seem to respect the srcset attribute?
- Use srcset to load small preview of big image first
- src-set works properly in devtools scaling up from mobile, but not down from desktop?
- wrong image choice for responsive image (imgsrc + sizes attribute) (NOT retina screen)
- How does the length of sources in a srcset attribute affect performance
- html srcset always show bigger image
- Browser ignores responsive images set via "srcset"
- Why responsive images with img srcset and sizes will always load the largest source?
- PageSpeed Insights reports "Properly size images" even if I use srcset/sizes
- How to set separate values for $sizes attribute for images in gallery and a different one for regular image(s) in post content in Wordpress?
- Overwrite WP srcset code - so we can use ImgIX
- Prevent tablet and desktop showing mobile image when 1x, 2x, 3x pixel density has been applied for mobile
- Webpack renames files in srcset with w descriptor
- srcSet attribute is not working on safari
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
OK, I think I may have fixed this, though it is a bit silly that I had to do it this way. Originally I had written these with the combined declaration:
When I write it long form it seems to work just fine.
If I have more time to look into it, I'll comment in any info I find on why this may be.