Bug 301219
| Summary: | [Style] Apply zoom to lengths within calc expressions | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Sammy Gill <sgill26> |
| Component: | CSS | Assignee: | Sammy Gill <sgill26> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | koivisto, webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Sammy Gill
Currently we treat calc expressions in a very similar manner to percentages with respect to zoom. However, when evaluating the value at use time we need to apply the used zoom to any length values inside the calc. For example, width: calc(50% + 100px) should have the used zoom applied to the 100px
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Radar WebKit Bug Importer
<rdar://problem/163141549>
Sammy Gill
Pull request: https://github.com/WebKit/WebKit/pull/52752
EWS
Committed 301968@main (761924a05023): <https://commits.webkit.org/301968@main>
Reviewed commits have been landed. Closing PR #52752 and removing active labels.