Skip to content
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

Example 5 does not show any gifs on Iceweasel (Firefox) 31.8 Linux #21

Closed
rzetterberg opened this issue Aug 16, 2015 · 1 comment
Closed

Comments

@rzetterberg
Copy link

Description

When viewing the demo at http://evancz.github.io/elm-architecture-tutorial/examples/5.html
there are no gifs shown in Firefox. I tried clicking the button multiple times, nothing happens.

UPDATE: I tried disabling my browser add-ons, but that didn't have any effect.
UPDATE 2: I tried the project locally on my machine and it I can confirm that the view function is run and that a new URL is given each time I click the button. The problem is actually that none of the background styles are applied to the element.
UPDATE 3: PR #22 should fix this problem.

My setup

OS: Debian Jessie 64-bit
Browser: Iceweasel (Firefox) 31.8.0
Active add-ons: Adblock Edge 2.1.9, Ghostery 5.4.6, Youtube All HTML5 3.0.0

Debugging clues

The div-container for the images is empty

This container never changes, I tried clicking the button multiple times.

Empty div

No javascript errors

No javascript errors

The giphy API is loaded successfully

API loaded successfully

rzetterberg added a commit to rzetterberg/elm-architecture-tutorial that referenced this issue Aug 16, 2015
When using just background-size no images were shown in Firefox 31.8. To fix
this all vendor prefixes are added to the div-container.

See more here about the problem: http://stackoverflow.com/questions/6873516/firefox-ignores-background-size-css
@evancz
Copy link
Owner

evancz commented May 17, 2016

Makes sense to just follow in the PR I think. Thanks for the thorough issue!

@evancz evancz closed this as completed May 17, 2016
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants