- From: Brad Kemper <brad.kemper@gmail.com>
- Date: Tue, 22 Sep 2009 10:33:40 -0700
- To: Garrett Smith <dhtmlkitchen@gmail.com>
- Cc: www-style <www-style@w3.org>
On Sep 22, 2009, at 9:27 AM, Garrett Smith wrote: > * Too verbose. The defaultView is unrelated to the Element (the DOM > spec says: "a computed style is related to an Element node"). > Verbosity is not such a problem with operations that don't occur > frequently throughout the code. Reading styles is a common task. I agree; that is a really big problem with that. > New Proposal: > var height = x.getStyleAs("height", "px"); I like it!
Received on Tuesday, 22 September 2009 17:34:27 UTC