- From: Tab Atkins Jr. <jackalmage@gmail.com>
- Date: Tue, 9 Dec 2014 14:19:42 -0800
- To: Boris Zbarsky <bzbarsky@mit.edu>
- Cc: www-style list <www-style@w3.org>
Received on Tuesday, 9 December 2014 22:20:09 UTC
On Dec 9, 2014 9:32 AM, "Boris Zbarsky" <bzbarsky@mit.edu> wrote: > > When getComputedStyle is called on a node from a different document, the style is determined based on the rules for the document of the window getComputedStyle is called on. > > What should happen when the node has inline style? Is that considered a rule attached to the node (so taking effect in this case), or to the node's document (in which case it should not take effect)? With no regard to any possible compat issues, the right answer seems to be "attached to the node", so it takes effect. ~TJ
Received on Tuesday, 9 December 2014 22:20:09 UTC