FremyCompany / css-grid-polyfill

A working implementation of css grids for current browsers.
MIT License
1.11k stars 82 forks source link

box-sizing bug ? #36

Open raphaelgoetter opened 8 years ago

raphaelgoetter commented 8 years ago

Hello,

The doc says :

The whole polyfill is very sensitive to changes to the “box-sizing” property

In my codepens tests, the width / box-sizing calculated value went always wrong, even on initial layout, not only on changes :

EDIT : note that on each codepen, the grid-items appear out of their container, like absolute ou floated items.

FremyCompany commented 8 years ago

By sensitive I meant that many combinations yield incorrect results. Feel free to make a pull request fixing the computations whenever box sizing is non default