W3C home > Mailing lists > Public > public-webapps@w3.org > April to June 2011

Re: [WebIDL][Selectors-API] Stringifying null for DOMString attributes and properties

From: Lachlan Hunt <lachlan.hunt@lachy.id.au>
Date: Mon, 09 May 2011 18:22:28 +0200
Message-ID: <4DC814C4.4050803@lachy.id.au>
CC: public-webapps@w3.org
On 2011-05-07 16:03, Lachlan Hunt wrote:
> (I don't have results for IE yet because the testharness script I used
> to write the tests doesn't work in IE.)

I've now tested IE9, which did give me results.  The following 
properties are all stringified to "".

* BODY .text, .bgColor, .link, .vLink, .aLink
* HR .size
* A, AREA .coords, .shape
* IFRAME .width, .height, .marginHeight, .marginWidth
* TABLE .bgColor, .width
* COLGROUP, COL .width
* TR .bgColor,
* TD, TH .bgColor, .height, .width
* INPUT .height, .width
* BUTTON .type
* .textContent on everything

Every other tested property on HTML*Element interfaces stringified to 
"null".

(This is testing non-readonly DOMString properties on HTML*Element 
interfaces documented in HTML [1], excluding those I mentioned as 
untested in my previous mail.)

[1] http://www.whatwg.org/C

-- 
Lachlan Hunt - Opera Software
http://lachy.id.au/
http://www.opera.com/
Received on Monday, 9 May 2011 16:23:01 GMT

This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 18:49:45 GMT