Bug 293907
| Summary: | [Style] Use strong Style value types for inset, margin and padding | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sam Weinig <sam> |
| Component: | CSS | Assignee: | Sam Weinig <sam> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | Safari 18 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sam Weinig
Add wrappers (for now) of WebCore::Length for inset, margin and padding.
This will allow us to enforce at the type level which keywords and value ranges are supported for each type and make the code a bit more clear.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Sam Weinig
Pull request: https://github.com/WebKit/WebKit/pull/46213
EWS
Committed 295835@main (4a9be0d0de8f): <https://commits.webkit.org/295835@main>
Reviewed commits have been landed. Closing PR #46213 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/152600278>