Responsive image doesn't render on page load in Chrome, renders on browser resize or opening dev tools -


i having strange issue img renders when browser gets resized or dev tools opened. img has srcset , sizes attributes, , inside polymer template. displays whithout attributes, or outside of polymer shadow dom. issue came chrome 39, believe, , restricted google chrome, there no polyfills @ work anymore. there no errors in console, naturally, status 200 ok there. having no issues in firefox or ie. polymer version 0.5.0, , reported issue @ polymer github page, maybe there else it. lex

ok, think may have fixed this, though bit silly had way. had written these combined declaration:

background: url(image-name.jpg) top center fixed; 

when write long form seems work fine.

    background-image: url(image-name.jpg);     background-position: top center;     background-attachment: fixed; 

if have more time it, i'll comment in info find on why may be.


Comments

Popular posts from this blog

matlab - "Contour not rendered for non-finite ZData" -

delphi - Indy UDP Read Contents of Adata -

javascript - Any ideas when Firefox is likely to implement lengthAdjust and textLength? -