You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
I think negative gap values should be allowed #1822
I opened this issue, but I see this is likely in the underlying Yoga library and not actually in react pdf diegomura/react-pdf#3180
More specifically, I think this #1405 is incorrect, while negative gap values might be unwise, they aren't "illegal" and shouldnt be clamped, and as you can see from the screenshots on the issue I opened in react-pdf, there are times when they are useful/the only way to accomplish certain layouts.
Activity
NickGerleman commentedon Jun 26, 2025
The spec explicitly disallows negative values (and I am certain browsers would do the same).
https://www.w3.org/TR/css-align-3/#column-row-gap