[Bug 25284] New: Correct nullability for SVGSVGElement getIntersectionList and getEnclosureList

https://www.w3.org/Bugs/Public/show_bug.cgi?id=25284

            Bug ID: 25284
           Summary: Correct nullability for SVGSVGElement
                    getIntersectionList and getEnclosureList
           Product: SVG
           Version: SVG 2.0
          Hardware: All
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: SVG Document Object Model (DOM)
          Assignee: schepers@w3.org
          Reporter: nbarth+w3bugzilla@google.com
        QA Contact: www-svg@w3.org

In the SVG 2 spec at:
5.11.2. Interface SVGSVGElement
http://www.w3.org/TR/SVG2/struct.html#InterfaceSVGSVGElement
in the definition of interface SVGSVGElement, the members:
  NodeList getIntersectionList(SVGRect rect, SVGElement referenceElement);
  NodeList getEnclosureList(SVGRect rect, SVGElement referenceElement);
should instead read:
  NodeList getIntersectionList(SVGRect rect, SVGElement? referenceElement);
  NodeList getEnclosureList(SVGRect rect, SVGElement? referenceElement);
i.e., referenceElement should be *nullable* (SVGElement*?*) in
getIntersectionList and getEnclosureList.

The prose specifically assumes that these are nullable, reading:
SVGElement referenceElement
If not null, ...

http://www.w3.org/TR/SVG2/struct.html#__svg__SVGSVGElement__getIntersectionList
http://www.w3.org/TR/SVG2/struct.html#__svg__SVGSVGElement__getEnclosureList

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Monday, 7 April 2014 11:13:14 UTC