[Webkit-unassigned] [Bug 18437] Mouse events occur on the wrong element when clip path is applied

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sun Jul 20 23:32:42 PDT 2008


eric at webkit.org changed:

           What    |Removed                     |Added
  Attachment #20499|review?                     |review-
               Flag|                            |

------- Comment #3 from eric at webkit.org  2008-07-20 23:32 PDT -------
(From update of attachment 20499)
Looks OK, but needs more thought than I have brain cells for atm.

First, your doubtful comments about absolute-to-local conversions aren't
needed. :)   Yes in inverse of the absoluteTransform is exactly what will
convert from screen chords to local coords for the element in question. :)

This needs test cases.

Not sure how fast/slow this is.

This doesn't work for TextClips or clips which can't convert to a path object
(which we have a separate bug about fixing somewhere).

I think if you're in the clipping code you should be at least aware of these
other bugs: bug 12571, bug 14015 and bug 18398

why wouldn't "clipContains" just be on RenderObject? (or is there a
RenderSVGObject yet... I guess not).

I guess I'll go ahead and r- this for lack of test case.

The best way to fix this IMO, would be to make sure that any fix moves us
closer to an architecture which we can solve bug 12571 under (Which means
asking the clipper if they contain a point, instead of asking them for their
path first... which I guess you're already sorta doing.)  Maybe I'm just too

Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

More information about the webkit-unassigned mailing list