<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>25960</bug_id>
          
          <creation_ts>2014-06-03 11:25:08 +0000</creation_ts>
          <short_desc>IDL vs. prose mismatch for removeHitRegion() method.</short_desc>
          <delta_ts>2014-06-03 21:59:12 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>HTML WG</product>
          <component>HTML Canvas 2D Context</component>
          <version>unspecified</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Linux</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Fredrik S">fs</reporter>
          <assigned_to name="rcabanie">cabanier</assigned_to>
          <cc>cabanier</cc>
    
    <cc>mike</cc>
    
    <cc>public-html-admin</cc>
    
    <cc>public-html-wg-issue-tracking</cc>
          
          <qa_contact name="HTML WG Bugzilla archive list">public-html-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>107195</commentid>
    <comment_count>0</comment_count>
    <who name="Fredrik S">fs</who>
    <bug_when>2014-06-03 11:25:08 +0000</bug_when>
    <thetext>The CanvasRenderingContext2D IDL has:

void removeHitRegion(HitRegionOptions options);

while the prose for the method [1] say:

&quot;Let region be the region identified by the ID given by the method&apos;s argument in this canvas element, if any.&quot;

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 &quot;If the arguments object&apos;s id member...&quot;

[1] http://www.w3.org/html/wg/drafts/2dcontext/html5_canvas_CR/#dom-context-2d-removehitregion</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>107222</commentid>
    <comment_count>1</comment_count>
    <who name="rcabanie">cabanier</who>
    <bug_when>2014-06-03 21:58:59 +0000</bug_when>
    <thetext>Fix with https://github.com/w3c/html/commit/5c7362b4a53fcd19d03f170e32ffd1c6e71ef7df</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>