RESOLVED FIXED 12391
SVG containers with viewports should respect overflow when hit testing
https://bugs.webkit.org/show_bug.cgi?id=12391
Summary SVG containers with viewports should respect overflow when hit testing
Rob Buis
Reported 2007-01-24 02:04:20 PST
The summary says it all. You can note this effect in carto.net/window.svg on the buttons.
Attachments
First attempt (11.95 KB, patch)
2007-01-24 02:28 PST, Rob Buis
mjs: review-
Improved patch (11.92 KB, patch)
2007-01-25 01:28 PST, Rob Buis
mjs: review+
Rob Buis
Comment 1 2007-01-24 02:28:02 PST
Created attachment 12642 [details] First attempt This patch should fix the problem. I'll look whether there are problems too for other svg elements that create a viewport. Cheers, Rob.
Maciej Stachowiak
Comment 2 2007-01-24 18:33:38 PST
Shouldn't you respect the overflow property in every case, not just on the SVG element? It's a little weird to have a tag name check like that in the render tree. r- to consider this, otherwise patch and test case look great.
Rob Buis
Comment 3 2007-01-25 01:28:29 PST
Created attachment 12663 [details] Improved patch This patch should address Maciej's issue. Cheers, Rob.
Maciej Stachowiak
Comment 4 2007-01-25 02:38:47 PST
Comment on attachment 12663 [details] Improved patch r=me
David Kilzer (:ddkilzer)
Comment 5 2007-01-25 06:40:32 PST
Committed by rwlbuis in r19115.
Note You need to log in before you can comment on or make changes to this bug.