css-grid-polyfill
css-grid-polyfill copied to clipboard
box-sizing bug ?
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 :
- http://codepen.io/raphaelgoetter/pen/BoYYvZ
- http://codepen.io/raphaelgoetter/pen/JYppMV
- http://codepen.io/raphaelgoetter/pen/WQMMQo
- etc
EDIT : note that on each codepen, the grid-items appear out of their container, like absolute ou floated items.
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