Re: computedStyle of cloneNode

On Wed, May 4, 2016 at 2:46 AM, Shane Stephens <> wrote:
> (1) several of us have now stated that computed style for detached nodes
> doesn't really make sense. Rune may disagree with this stance but I'm not
> sure?

It's resolved, not computed, for what it's worth. Pretty sure it was
specified this way because content relies on it being this way. Maybe
that's no longer true?

> (2) if this were a general rule then we'd have an answer for the initial
> question (what to do with computed style of a cloned node) - as the clone
> would not be in-document, it wouldn't have a computed style.

Agreed, cloning should have no material effect one way or another here.


Received on Wednesday, 4 May 2016 06:08:51 UTC