Re: [csswg-drafts] [cssom] [css-display] [css-values] Clarify behavior of window.getComputedStyle on detached subtrees, and the definition of "the root element".

> Applying the stylesheets of one document on another document doesn't seem relevant

It's what https://drafts.csswg.org/cssom/#dom-window-getcomputedstyle explicitly requires, note....  (In the case of Firefox there's an implementation constraint that a display:none iframe doesn't have the things that are needed to compute styles at all, so we do the next-best thing, because not computing styles at all here would fail for web compat.)

-- 
GitHub Notification of comment by bzbarsky
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/1548#issuecomment-363911720 using your GitHub account

Received on Wednesday, 7 February 2018 21:21:33 UTC