From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: Pass (mailfrom) identity=mailfrom; client-ip=2001:558:fe21:29:69:252:207:37; helo=resqmta-ch2-05v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-05v.sys.comcast.net (resqmta-ch2-05v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:37]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 0F93E77C83 for ; Mon, 14 Aug 2017 18:26:03 -0700 (PDT) Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-05v.sys.comcast.net with ESMTP id hQcGdJc5MhorthQcSdpXrh; Tue, 15 Aug 2017 01:26:08 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1502760368; bh=O61lJqEHk2Li2ShIx/IWDmk2icSXWTBP3YnbTtt2Y4k=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=UOziOQLhqQQTRKXGi+BDUlzac2hFCNt69ZziorT6nqvacH+W+mhr2CqJkW0ZcBHFR OqHgydYG/Yb02Vy+zD/DM+KJUYqdSe0rWEfaydh5RnW+bU2iwc+JZhuQjWc6XFpWed q2AEGM/D3Lwb0+cQnt82X15nVoy+2rOkNi9rjRcFV6Qd4iH5ixaJDE981fCYW4MY+a tvFhh+9X5EPdkQsq5tQJocP/8ArN4Q6DGQvseBptPPHI5dkvCiD0FsYitwcQOJvJP6 WMXimkI263KaCFF1JPX5X87GxFmT1FiBzZEPKVPoGKGUhlOYOI/rqnopoYmQmz8LTy jxw2sl8vlu/WQ== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-02v.sys.comcast.net with SMTP id hQcRdnR0w13A8hQcSdYA0t; Tue, 15 Aug 2017 01:26:08 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20170713214236.kevin@carhart.net > User-Agent: edbrowse/3.7.0+ Date: Mon, 14 Aug 2017 21:26:07 -0400 Message-ID: <20170714212607.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-170184 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfJvzEVVqvPmCz2SnTQ8RSBirDukJS0bi/hTuNXW84q9Z7Gz5l9Xg+4rnkQLSQplSMO4dDN2hSjW1UYBrHK0VxJXLcfvgejBZKS1M6k809O5wDtRSHkud WYbpL+YfKtccA5ZStYeB0k659bqN8eiA7r4bXazG2zjoLekOEX3KFFv8 Subject: [Edbrowse-dev] defaultView and getComputedStyle patch X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.24 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 15 Aug 2017 01:26:04 -0000 This message is in MIME format. Since your mail reader does not understand this format, some or all of this message may not be legible. --nextpart-eb-170184 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable 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 =3D anchorObj; And I don't know about style, maybe that links to itself. style.style =3D 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 --nextpart-eb-170184--