Bug 118433 - AX: iOS: SVG paths are not offset by the parent bounding box
Summary: AX: iOS: SVG paths are not offset by the parent bounding box
Status: RESOLVED FIXED
Alias: None
Product: WebKit
Classification: Unclassified
Component: Accessibility (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: chris fleizach
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-05 15:07 PDT by chris fleizach
Modified: 2013-07-08 14:04 PDT (History)
10 users (show)

See Also:


Attachments
patch (1.92 KB, patch)
2013-07-05 15:56 PDT, chris fleizach
no flags Details | Formatted Diff | Diff
patch (2.08 KB, patch)
2013-07-05 15:59 PDT, chris fleizach
no flags Details | Formatted Diff | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description chris fleizach 2013-07-05 15:07:17 PDT
Asking for an SVG path will give it to you in the parent's view space. To correctly display on screen that needs to be offset by the parent's location within the web view
Comment 1 chris fleizach 2013-07-05 15:56:40 PDT
Created attachment 206174 [details]
patch
Comment 2 chris fleizach 2013-07-05 15:59:45 PDT
Created attachment 206175 [details]
patch
Comment 3 Sam Weinig 2013-07-05 21:26:01 PDT
Any way to test this?
Comment 4 chris fleizach 2013-07-05 22:55:58 PDT
(In reply to comment #3)
> Any way to test this?

I originally had the path data output point information, but it changed from on each build bot, so I had to remove the point location information. There's not a great way to test for this unfortunately that's reliable
Comment 5 Tim Horton 2013-07-08 13:35:49 PDT
Comment on attachment 206175 [details]
patch

Does this work for nested <svg>?
Comment 6 Tim Horton 2013-07-08 13:36:18 PDT
(In reply to comment #4)
> (In reply to comment #3)
> > Any way to test this?
> 
> I originally had the path data output point information, but it changed from on each build bot, so I had to remove the point location information. There's not a great way to test for this unfortunately that's reliable

This seems ... surprising.
Comment 7 chris fleizach 2013-07-08 13:42:16 PDT
(In reply to comment #5)
> (From update of attachment 206175 [details])
> Does this work for nested <svg>?

I'll have to check
Comment 8 WebKit Commit Bot 2013-07-08 14:04:44 PDT
Comment on attachment 206175 [details]
patch

Clearing flags on attachment: 206175

Committed r152464: <http://trac.webkit.org/changeset/152464>
Comment 9 WebKit Commit Bot 2013-07-08 14:04:47 PDT
All reviewed patches have been landed.  Closing bug.