Bug 130949
| Summary: | Maximum `border-width` significantly less than `margin` or `padding` | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Joey Hoer <me> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED WORKSFORME | ||
| Severity: | Minor | CC: | bfulgham |
| Priority: | P2 | ||
| Version: | 528+ (Nightly build) | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://cdpn.io/hIGqo | ||
Joey Hoer
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 | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Brent Fulgham
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.