W3C home > Mailing lists > Public > www-style@w3.org > December 2014

[cssom] How should inline style be handled when getComputedStyle is called cross-document

From: Boris Zbarsky <bzbarsky@mit.edu>
Date: Tue, 09 Dec 2014 12:29:01 -0500
Message-ID: <5487315D.4000500@mit.edu>
To: www-style@w3.org
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)?

-Boris
Received on Tuesday, 9 December 2014 17:29:32 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 22:51:52 UTC