Bug 14144
| Summary: | All tx/ty (parentX/parentY) usage should be removed from SVG renders | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Eric Seidel (no email) <eric> |
| Component: | SVG | Assignee: | Nobody <webkit-unassigned> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | ||
| Priority: | P2 | ||
| Version: | 523.x (Safari 3) | ||
| Hardware: | Mac | ||
| OS: | OS X 10.4 | ||
Eric Seidel (no email)
All tx/ty (parentX/parentY) usage should be removed from SVG renders
tx/ty are insufficient for passing adequate transform information up the render tree when doing hit-testing or painting. These are fine for HTML but SVG has more complicated transforms, and thus needs to use things like absoluteTransform() etc, or at least pass a transform object instead.
SVGRenderRoot should be the *ONLY* SVG render class which deals with tx/ty, all others should ignore it. (except maybe the text stuff).
This bug represents removing all usage of tx/ty outside of SVGRenderRoot to finally end all the stupid hit-testing and painting confusion resulting from applying tx/ty too many or not enough times when painting hit/testing SVG renderers.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Rob Buis
Landed in r23583.