Closed miracle2k closed 8 years ago
Thanks for this!
Sorry, I reverted this without realizing what I was doing. My tests weren't passing so I thought we still needed to measure the clone. But then I realized I wasn't accounting for the display property right.
In my case (Chrome),
getComputedStyle(clone)
was completely empty, butgetComputedStyle(node)
gave the correct information.