| Summary: | atan2 calc() function behaves incorrectly with different units | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Devon Govett <govett> |
| Component: | CSS | Assignee: | Nobody <webkit-unassigned> |
| Status: | NEW --- | ||
| Severity: | Normal | CC: | ahmad.saleem792, ap, bfulgham, karlcow, koivisto, nmouchtaris, ntim, simon.fraser, webkit-bug-importer, zalan |
| Priority: | P2 | Keywords: | GoodFirstBug, InRadar |
| Version: | Safari 15 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
|
Description
Devon Govett
2022-07-11 19:54:00 PDT
All three browsers differ in the attached test case (CodePen) from Comment 0. *** Safari Technology Preview 152 on macOS 12.5.1 *** Two Tilted red square first then in the last square *** Chrome Canary 107 *** Three red square *** Firefox Nightly 106 *** Titled red square and then simple square and then again tiled red square. ______ Just wanted to share updated results. Thanks! Chrome Canary 117 and WebKit ToT (266719@main) seems to match each other while Firefox Nightly 118 is different from other. Do we need to do anything here? CCing @Tim - since he fixed similar bugs recently. (In reply to Ahmad Saleem from comment #3) > Chrome Canary 117 and WebKit ToT (266719@main) seems to match each other > while Firefox Nightly 118 is different from other. > > Do we need to do anything here? CCing @Tim - since he fixed similar bugs > recently. WebKit & Chrome still have an incorrect result here, since the first 2 squares are identical (first one uses 90px, second uses 90vw). They should defer computation to computed-value time. Arguably Firefox is slightly more correct here by rejecting the computation altogether (instead of computing to something incorrect), but that's not what the spec wants. |