2.1.66 [W3C-HTML52] Section 4.12.4. The canvas element

V0219: The width and height content attribute values truncate the content and do not return the value for getAttribute

The specification states:

 ... The canvas element
     ...
     Whenever the width and height content attributes are set, removed, changed, or 
     redundantly set to the value they already have, if the canvas context mode is ... 2d, 
     the user agent must set bitmap dimensions to the numeric values of the width and 
     height content attributes.
  
     The width and height IDL attributes must reflect the respective content attributes of 
     the same name, with the same defaults.

EdgeHTML Mode

The width and height content attribute values truncate the content and do not return the value for getAttribute.