Summary: | SVG anchor on use fails | ||||||
---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Stephen Chenney <schenney> | ||||
Component: | SVG | Assignee: | Stephen Chenney <schenney> | ||||
Status: | RESOLVED FIXED | ||||||
Severity: | Normal | CC: | rwlbuis, schenney, zimmermann | ||||
Priority: | P2 | ||||||
Version: | 528+ (Nightly build) | ||||||
Hardware: | Unspecified | ||||||
OS: | Unspecified | ||||||
URL: | http://www.thesokolows.com/colorresearch/pedigrees/AARON_OF_QUIETUDE.xhtml | ||||||
Attachments: |
|
Description
Stephen Chenney
2012-03-14 09:10:22 PDT
I think the reduction is confusing. Don't you mean <a xlink:href="outer.svg">Click <a xlink:href="inner.svg">Here</a></a> that we always navigate to outer.svg even when clicking on "Here"? Yeah, my reduction is not really a reduction. Note that your anchor inside anchor is in fact illegal according to the spec. This might work, but I haven't tried yet. Still working through over 100 WebKit SVG bugs in crbug figuring out which ones are not yet in Bugzilla. <svg ...> <defs> <rect name="inner" x="10" y="10" width="20" height="20"/> </defs> <a href="outerHref"><rect x="5" y="5" width="30" height="30"/></a> <a href="innerHref"><use xlink:href="#inner"/></a> </svg> When you click at 15,15 you will apparently go to outerHref. Regardless, there is some bug that the referenced site reveals. Is this still a problem in trunk? This does indeed seem to have been fixed. Both the original bug report test case and a layout test I constructed both work as expected in Chrome 19.0.1084.24 beta. I think I'll upload the test anyway, just for future regression testing. Created attachment 137747 [details]
Patch
Comment on attachment 137747 [details]
Patch
Looks good.
Comment on attachment 137747 [details] Patch Clearing flags on attachment: 137747 Committed r114750: <http://trac.webkit.org/changeset/114750> All reviewed patches have been landed. Closing bug. |