Isotope not respecting percentage (%) margins in Webkit browsers #119

ghost opened this Issue Nov 26, 2011 · 3 comments


None yet
2 participants

ghost commented Nov 26, 2011

Best just to view this fiddle in both Firefox and Chrome/Safari to see what I'm talking about.

Basically... it works fine with pixel margins in all browsers, but when the margins are percentages... Firefox holds true, while Chrome/Safari fail...


desandro commented Nov 30, 2011

This is a jQuery bug, not Isotope specifically. Keep an eye on jQuery bugs #10117 and #10639. Hopefully this will be resolved in jQuery v1.7.2

Seems that it in turn is a Webkit bug (#29084). A hack/workaround was added to jQuery three weeks ago, and is slated for 1.7.2.


desandro commented Apr 30, 2012

Closed as fixed with jQuery 1.7.2

desandro closed this Apr 30, 2012

@npmcomponent npmcomponent pushed a commit to npmcomponent/danzajdband-vanilla-masonry that referenced this issue Jan 6, 2014

@desandro desandro src & test : add hackPercentMargin to getWH
fixes bug when margin is in percentage

Re metafizzy/isotope#119

All the hard work done by @mikesherov
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment