Thanks Boris for pointing this out It doesn't surprise me since implementing it this way make a heavy burden on the implementation That's why I was asking for a way to tell the implementation which unit I need so it can gracefully give an understandable error message if it cannot handle it, instead of doing some strange gymnastic with a lot of casting Mohamed 2009/3/23 Boris Zbarsky <bzbarsky@mit.edu> > Ludger Buenger wrote: > >> CSSPrimitiveValue widthValue = >> ((CSSPrimitiveValue)getComputedStyle(element).getPropertyCSSValue(“width”)); >> > > Though note https://bugzilla.mozilla.org/show_bug.cgi?id=474655#c0 > > -Boris > -- Innovimax SARL Consulting, Training & XML Development 9, impasse des Orteaux 75020 Paris Tel : +33 9 52 475787 Fax : +33 1 4356 1746 http://www.innovimax.fr RCS Paris 488.018.631 SARL au capital de 10.000 €Received on Tuesday, 24 March 2009 09:29:00 GMT
This archive was generated by hypermail 2.3.1 : Tuesday, 26 March 2013 17:20:17 GMT