flexie
flexie copied to clipboard
comparison against 135?
Hi,
i went through your code to extract the flexboxSupport method and wondered if I missed something with line 1830
boxPackJustify : function () {
var totalOffset = 0,
i, j;
for (i = 0, j = dummy.childNodes.length; i < j; i++) {
totalOffset += dummy.childNodes[i].offsetLeft;
}
return (totalOffset === 135);
I just get 100 (or, in chrome, 99) as totalOffset
when debugging via console.
Perhaps I missed the correct attributes to check justify properly so 135
would be indeed the returned value if the test is passed?