| Summary: | [svg] applying `rx` or `ry` through CSS exclusively has no effect | ||||||
|---|---|---|---|---|---|---|---|
| Product: | WebKit | Reporter: | kari.pihkala | ||||
| Component: | SVG | Assignee: | Antoine Quint <graouts> | ||||
| Status: | RESOLVED FIXED | ||||||
| Severity: | Normal | CC: | dino, graouts, jbstrater, karlcow, sabouhallawa, webkit-bug-importer, zimmermann | ||||
| Priority: | P2 | Keywords: | BrowserCompat, InRadar | ||||
| Version: | Safari Technology Preview | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| See Also: |
https://bugs.webkit.org/show_bug.cgi?id=266090 https://github.com/web-platform-tests/wpt/pull/43629 |
||||||
| Attachments: |
|
||||||
|
Description
kari.pihkala
2023-07-31 06:47:52 PDT
Querying the computed style I can see that the animations is indeed applied through our style system. However, the rendering does not account for it. My guess is that we have a quick check for `rx` and `ry` being set on an element and not accounting for the RenderStyle. In fact this seems unrelated to animations and strictly a CSS integration with SVG problem since: … <rect width="50" height="50" rx="1" style="rx: 10px" /> will yield a rectangle with rounded corners while this: <rect width="50" height="50" style="rx: 10px" /> … will not. Clearly having the `rx` attribute is important for rendering of the `rx` value set through CSS. Pull request: https://github.com/WebKit/WebKit/pull/21679 Submitted web-platform-tests pull request: https://github.com/web-platform-tests/wpt/pull/43629 Committed 271970@main (0eba4b6cab17): <https://commits.webkit.org/271970@main> Reviewed commits have been landed. Closing PR #21679 and removing active labels. *** Bug 266090 has been marked as a duplicate of this bug. *** |