If I understand correctly, I think you can't have too much dynamism or dynamicness. Does CSSStyleDeclaration get you something that style does not? Maybe so, if we write it that way. Does CSSStyleDeclaration hinder you from something that style gives you? I don't think so. Are there any drawbacks?
On Mon, 14 Aug 2017, Karl Dahlke wrote:
So CSSStyleDeclaration is a class that spins off objects. Is it possible that every one of our style objects, that we create under nodes, should be an instance of CSSStyleDeclaration, rather than Object? So under an anchor tag, or I should say the anchor object, we create style as an instance of CSSStyleDeclaration, then link element back to the anchor object so we know where it came from. anchorObj.style.element = anchorObj; And I don't know about style, maybe that links to itself. style.style = style; Then your getComputedStyle(e) can indeed return e.style and everything works. I don't know if this is how it's suppose to work, but I bet it would pass all the tests. Karl Dahlke
-------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists _______________________________________________ Edbrowse-dev mailing list [email protected] http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev
