Thanks Scott, my reply was quite sarcastic ... if a node is removed or is not in the document nothing changes, "Computed" words speaks itself ... I mean, if not rendered or present, there's nothing computed for sure.
Regards On Fri, Oct 23, 2009 at 5:25 PM, Scott Sauyet <scott.sau...@gmail.com>wrote: > > On Fri, Oct 23, 2009 at 11:11 AM, DBJDBJ <dbj...@gmail.com> wrote: > > What does W3C DOM spec says? > > "Since a computed style is related to an Element node, if this element > is removed from the document, the associated CSSStyleDeclaration and > CSSValue related to this declaration are no longer valid." -- > http://www.w3.org/TR/DOM-Level-2-Style/css.html#CSS-OverrideAndComputed > > I think that would apply as well to an Element not yet added to the > document, but the spec does not say so specifically. > > -- Scott > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "jQuery Development" group. To post to this group, send email to jquery-dev@googlegroups.com To unsubscribe from this group, send email to jquery-dev+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/jquery-dev?hl=en -~----------~----~----~----~------~----~------~--~---