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:40; helo=resqmta-ch2-08v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-08v.sys.comcast.net (resqmta-ch2-08v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:40]) by hurricane.the-brannons.com (Postfix) with ESMTPS id BC8B077DCD for ; Mon, 4 Sep 2017 07:11:14 -0700 (PDT) Received: from resomta-ch2-13v.sys.comcast.net ([69.252.207.109]) by resqmta-ch2-08v.sys.comcast.net with ESMTP id os6YdEMpYs3Hcos6ddeMqk; Mon, 04 Sep 2017 14:12:03 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1504534323; bh=aMQ5VTUfdwXiMPofPfh4qWe4w8/VAdFaKzgtBjPkiWE=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=aUejpdy8CU6ZdmsGyu2iYhf94S9eanLZx28nPatGjGrVyuKRp6uacAoJnhgXQ26RZ RYR45+hUpieYPH5anX9LRNFDiGjghn4qDbBXALshuwu0X5qgiU7hCI4qc3df1axDJA pem0bCTkkN5Bc5lDv9L6GNUhUoBp4/JjcM4YkBPBNxrVMPurtq3cm4TMKU3g5z0Y3T RdfDqJHo/lGEggxv+8L0ecDu8IJvjnAjWA1ymfP81hbkNuj1LgxEu2+NTaploL8Zfb 4iOd/6v9L0vBUc3I8PFylEeuXm1yQ4hK82ARm7gX4wtZPDNB77imO0hpxFJpIPeKfZ 1dDWPBriKbbNw== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-13v.sys.comcast.net with SMTP id os6cdK0xlKGreos6ddiF7R; Mon, 04 Sep 2017 14:12:03 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: User-Agent: edbrowse/3.7.1 Date: Mon, 04 Sep 2017 10:12:02 -0400 Message-ID: <20170804101202.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-041676 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfDK07Wbw4UW0ccyuCJhNLWelMDCmJMYOdYF5XWDnwvpAGYHxEydIwnaWhFqMRlUWN3OcbJu6IeB/bPjUX6p1TEllWyFfJF1w5WdQ1PXCMwy5S+vnnRsh 5+eeRgxOCZ1E5xBla1wdMcIMVd5b637AhBKB4yE226Ai82ZdoziVCJoX Subject: [Edbrowse-dev] suggested additions 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: Mon, 04 Sep 2017 14:11:15 -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-041676 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable (1) give a CSSStyleDeclaration attributes Sure. (2) Give an iframe a contentWindow in addition to a contentDocument Yes but not as simple as it seems. The linkage in decorate.c is merely a placeholder until the frame is = expanded. Look for contentDocument in http.c. Then, I'm not sure what contentWindo means, but I suppose the window of = the frame, rather than the document of the frame, check for = specifications. Even that doesn't work with your example js. doc =3D ( iframe[ 0 ].contentWindow || iframe[ 0 ].contentDocument ).document So we're grabbing window.document or document.document, the latter = doesn't make any sense. Also beware, I do some magic with content$Document which is how we = expand frames automatically when their objects are referenced. Do we need to do the same for contentWindow? Probably. This should probably be its own patch; it's a bit more involved. (3) Bring back the following definition for Event. Sure I guess. (4) Apply the Event definition from (3) to the addEventHandler Ok. (5) Implement childNodes.item. Sure. Probably down in Array.prototype. Then it's part of every = childNodes, and every other array, but I don't think that's a problem. Otherwise you have to make it part of every childNodes, including those = in decorate.c. (6) Covered by Array.prototype.item. (7) Following on from Karl's exclusion of @ from the CSS selectors, Yeah this is ugly but I started it, so you may as well continue it. I do think regular expressions are more readable / intuitive, and = powerful. Karl Dahlke --nextpart-eb-041676--