flexie icon indicating copy to clipboard operation
flexie copied to clipboard

comparison against 135?

Open nonano opened this issue 12 years ago • 0 comments

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?

nonano avatar Feb 02 '12 16:02 nonano