Re: [css-houdini-drafts] [css-typed-om] Moving cached computedStyleMap to another document

Hm, there's nothing particularly Document-specific about it.  The only thing I can think of is that it's generated by a particular global's constructor, and thus won't test as the correct type when compared against another global's version of the constructor.  But that's also true of the element itself, so I don't think that's a big deal.

Unless there's a good code-complexity reason to swap it out for a fresh object, I think it should stay cached.

-- 
GitHub Notification of comment by tabatkins
Please view or discuss this issue at https://github.com/w3c/css-houdini-drafts/issues/724#issuecomment-370279414 using your GitHub account

Received on Monday, 5 March 2018 00:33:55 UTC