- From: Nathan <nathan@webr3.org>
- Date: Tue, 17 Aug 2010 23:45:48 +0100
- To: Ian Hickson <ian@hixie.ch>
- CC: public-html-comments@w3.org
Ian Hickson wrote: > On Tue, 17 Aug 2010, Nathan wrote: >> Noted that HTMLIFrameElement.width and height are specified as >> DOMString, whilst on other HTMLElements like HTMLImageElement they are >> 'unsigned long' - is there a reason for this or is it a minor bug? > > A lot of things like this exist, unfortunately. They're mostly that way > for historical reasons and can't be changed without breaking > compatibility with legacy content. > Okay cheers, after a quick check all width/height properties are actually DOMString except for: HTMLImageElement HTMLCanvasElement HTMLPreElement Would it make sense to bring those three interfaces in line and set to DOMString too? Best, Nathan
Received on Tuesday, 17 August 2010 22:46:41 UTC