This website requires JavaScript.
Explore
Help
Sign In
nephele
/
haikuwebkit
Watch
1
Star
0
Fork
You've already forked haikuwebkit
0
Code
Issues
Releases
Activity
haiku
haikuwebkit
/
LayoutTests
/
svg
/
custom
/
intersection-list-nested-sv...
2 lines
5 B
Plaintext
Raw
Permalink
Normal View
History
Unescape
Escape
2011-07-27 Rob Buis <rbuis@rim.com> Implement getIntersectionList(), getEnclosureList(), checkIntersection() and checkEnclosure() in SVGSVGElement https://bugs.webkit.org/show_bug.cgi?id=11274 Reviewed by Nikolas Zimmermann. Implement checkIntersection/checkEnclosure and use it to implement getIntersectionList and getEnclosureList as well. The referenceElement is used to provide a DOM subtree to find matches in. Also we do not allow elements that specify pointer-events=none in the list. Tests: svg/W3C-SVG-1.1-SE/struct-dom-11-f.svg svg/custom/intersection-list-clipping.svg svg/custom/intersection-list-nested-svg.svg * rendering/svg/RenderSVGModelObject.cpp: (WebCore::getElementCTM): (WebCore::intersectsAllowingEmpty): (WebCore::isGraphicsElement): (WebCore::RenderSVGModelObject::checkIntersection): (WebCore::RenderSVGModelObject::checkEnclosure): * rendering/svg/RenderSVGModelObject.h: * svg/SVGSVGElement.cpp: (WebCore::SVGSVGElement::checkIntersection): (WebCore::SVGSVGElement::checkEnclosure): Canonical link: https://commits.webkit.org/81016@main git-svn-id: https://svn.webkit.org/repository/webkit/trunk@91850 268f45cc-cd09-0410-ab3c-d52691b4dbfc
2011-07-27 15:58:40 +00:00
PASS