Changeset 100280 in webkit
- Timestamp:
- Nov 15, 2011 7:38:09 AM (12 years ago)
- Location:
- trunk
- Files:
-
- 2 added
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/LayoutTests/ChangeLog
r100279 r100280 1 2011-11-15 Philip Rogers <pdr@google.com> 2 3 Fix SVG hit testing when padding is present 4 https://bugs.webkit.org/show_bug.cgi?id=37325 5 6 Reviewed by Nikolas Zimmermann. 7 8 * svg/hittest/svg-padding-expected.txt: Added. 9 * svg/hittest/svg-padding.xhtml: Added. 10 1 11 2011-11-15 Philippe Normand <pnormand@igalia.com> 2 12 -
trunk/Source/WebCore/ChangeLog
r100277 r100280 1 2011-11-15 Philip Rogers <pdr@google.com> 2 3 Fix SVG hit testing when padding is present 4 https://bugs.webkit.org/show_bug.cgi?id=37325 5 6 Reviewed by Nikolas Zimmermann. 7 8 Test: svg/hittest/svg-padding.xhtml 9 10 * rendering/svg/RenderSVGRoot.cpp: 11 (WebCore::RenderSVGRoot::nodeAtPoint): 12 1 13 2011-11-15 Pavel Feldman <pfeldman@google.com> 2 14 -
trunk/Source/WebCore/rendering/svg/RenderSVGRoot.cpp
r100225 r100280 435 435 436 436 // Note: For now, we're ignoring hits to border and padding for <svg> 437 LayoutPoint pointInContentBox = pointInBorderBox - borderOriginToContentBox(); 438 if (!contentBoxRect().contains(pointInContentBox)) 437 if (!contentBoxRect().contains(pointInBorderBox)) 439 438 return false; 440 439
Note: See TracChangeset
for help on using the changeset viewer.