[Bug 25960] New: IDL vs. prose mismatch for removeHitRegion() method.

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

            Bug ID: 25960
           Summary: IDL vs. prose mismatch for removeHitRegion() method.
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: Linux
            Status: NEW
          Severity: normal
          Priority: P2
         Component: HTML Canvas 2D Context
          Assignee: jaymunro@microsoft.com
          Reporter: fs@opera.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-admin@w3.org,
                    public-html-wg-issue-tracking@w3.org

The CanvasRenderingContext2D IDL has:

void removeHitRegion(HitRegionOptions options);

while the prose for the method [1] say:

"Let region be the region identified by the ID given by the method's argument
in this canvas element, if any."

I interpret the later as the method taking a DOMString rather than a
HitRegionOptions dictionary, since for instance the prose for addHitRegion say
things like "If the arguments object's id member..."

[1]
http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/#dom-context-2d-removehitregion

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Tuesday, 3 June 2014 11:25:09 UTC