[canvas] IDL issue - string quotes

Bug 18233 (https://www.w3.org/Bugs/Public/show_bug.cgi?id=18233 ) describes an error in the IDL of dictionary HitRegionOptions {} as shown in the current context2D spec (http://dev.w3.org/html5/2dcontext/ ) 

The section: 

dictionary HitRegionOptions {
  // [snip]
  DOMString id = '';
  // [snap]
};

uses a single quote rather than a double quote to define a string. 

In looking through the webIDL spec (http://dev.w3.org/2006/webapi/WebIDL/#proddef-DefaultValue ), I didn't see an example where a single quote was used. 

Does anyone disagree that this should be fixed in the spec? 

--Jay 

Received on Sunday, 26 August 2012 12:18:49 UTC