- From: Ian Hickson <ian@hixie.ch>
- Date: Tue, 17 Aug 2010 23:02:34 +0000 (UTC)
- To: Nathan <nathan@webr3.org>
- cc: public-html-comments@w3.org
On Tue, 17 Aug 2010, Nathan wrote: > 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? We can't really change any of these at this point (or at least, if we do we'll have to do a lot of research to check it's possible first). They all probably have existing content depending on them. -- Ian Hickson U+1047E )\._.,--....,'``. fL http://ln.hixie.ch/ U+263A /, _.. \ _\ ;`._ ,. Things that are impossible just take longer. `._.-(,_..'--(,_..'`-.;.'
Received on Tuesday, 17 August 2010 23:03:02 UTC