RESOLVED WORKSFORME130949
Maximum `border-width` significantly less than `margin` or `padding`
https://bugs.webkit.org/show_bug.cgi?id=130949
Summary Maximum `border-width` significantly less than `margin` or `padding`
Joey Hoer
Reported 2014-03-30 19:11:51 PDT
Referring to CSS property values: While `margin` and `padding` appear to be constrained to 2^25px (33554428px), `border-width` appears to be "capped" at a considerably smaller value 2^16px (65536px). While the `border-width` can seemingly be set to larger values, doing so leads to some unexpected bugs, such as negative values for computed width. The expected behavior would be that `border-width` would have the same maximum value as `margin` and `padding`, and overflowing this value would not cause negative width values (as `width` cannot be negative).
Attachments
Brent Fulgham
Comment 1 2022-07-13 17:12:19 PDT
It's difficult to confirm this bug without a test case. We don't believe there is an ongoing issue here. If you do feel there is a problem, please REOPEN this bug and include a test case illustrating the issue.
Note You need to log in before you can comment on or make changes to this bug.