Bug 76093 - WebKit fails IETC chapter_05.7.svg
Summary: WebKit fails IETC chapter_05.7.svg
Status: NEW
Alias: None
Product: WebKit
Classification: Unclassified
Component: SVG (show other bugs)
Version: 528+ (Nightly build)
Hardware: Unspecified Unspecified
: P2 Normal
Assignee: Nobody
URL:
Keywords:
Depends on:
Blocks: 76198
  Show dependency treegraph
 
Reported: 2012-01-11 12:17 PST by Eric Seidel (no email)
Modified: 2012-02-08 14:49 PST (History)
4 users (show)

See Also:


Attachments
reduced test case (uses console.assert) (1.13 KB, image/svg+xml)
2012-02-08 14:41 PST, Eric Seidel (no email)
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Eric Seidel (no email) 2012-01-11 12:17:23 PST
WebKit fails IETC chapter_05.7.svg

http://samples.msdn.microsoft.com/ietestcenter/svg112/svg/svg/chapter_05.7.svg

Unclear why yet.
Comment 1 Eric Seidel (no email) 2012-02-08 14:34:38 PST
Looking at the (horribly written) test in more detail, it appears that we fail the "polyline" and "polygon" enclosure list sections of the test.
Comment 2 Eric Seidel (no email) 2012-02-08 14:41:36 PST
Created attachment 126156 [details]
reduced test case (uses console.assert)
Comment 3 Eric Seidel (no email) 2012-02-08 14:49:04 PST
I think the test is wrong.  The spec says:

Returns the list of graphics elements whose rendered content is entirely contained within the supplied rectangle. Each candidate graphics element is to be considered a match only if the same graphics element can be a target of pointer events as defined in ‘pointer-events’ processing.

We definitely return these two elements if you start the rect at -1, -1.  But Given that these elements are stroked with (default) width 1, that stroke will excede the boundaries of the rectangle at 0,0.