This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 25960 - IDL vs. prose mismatch for removeHitRegion() method.
Summary: IDL vs. prose mismatch for removeHitRegion() method.
Status: RESOLVED FIXED
Alias: None
Product: HTML WG
Classification: Unclassified
Component: HTML Canvas 2D Context (show other bugs)
Version: unspecified
Hardware: PC Linux
: P2 normal
Target Milestone: ---
Assignee: rcabanie
QA Contact: HTML WG Bugzilla archive list
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-03 11:25 UTC by Fredrik S
Modified: 2014-06-03 21:59 UTC (History)
4 users (show)

See Also:


Attachments

Description Fredrik S 2014-06-03 11:25:08 UTC
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