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:43; helo=resqmta-ch2-11v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-11v.sys.comcast.net (resqmta-ch2-11v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:43]) by hurricane.the-brannons.com (Postfix) with ESMTPS id E7A1E77CDF for ; Sun, 20 Aug 2017 13:24:06 -0700 (PDT) Received: from resomta-ch2-19v.sys.comcast.net ([69.252.207.115]) by resqmta-ch2-11v.sys.comcast.net with ESMTP id jWkyd7jFijkIMjWljd5IPh; Sun, 20 Aug 2017 20:24:23 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1503260663; bh=MEypAUcxqnK0Gtw1YM+RPm9IHeymFkOGQA2hSVRifKY=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=PxoPo+8j8GEDVg+a7UjwbTzIdmiFbDL1r7YFq4ZqXFMLz8m6uisNdRRUjMZtGbshc 3Lve8ryfI+mZ/qqdjV/xh8zdRJUBC4x07YEPj50YyUPnamr7rXuwHWHw7osrL8Qeo8 LjuAE8MOoNRKPtarriZbvbmw8PG65rySiVxzZkX/RNF65epi+54eR6G8Q3PObI4q/x notGOpYAWvLYqaCpKJUIPP+RSj17c8NCpNmP0ejJGBiQwImi4VRtkhZhI26CVNIOjn obSrHnMw8fhpwv1d11vOmHjvIyYjb4SQ0xw01y6WersHm7mrJIJLHiG0VMbAkz/pGC Tewj1kJ85sMmw== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-19v.sys.comcast.net with SMTP id jWlidV4ricYpvjWljdzndC; Sun, 20 Aug 2017 20:24:23 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20170719113834.eklhad@comcast.net> User-Agent: edbrowse/3.7.0+ Date: Sun, 20 Aug 2017 16:24:22 -0400 Message-ID: <20170720162422.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-157576 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfGIXv/uNfgBv5iHX49iNlD2EDXbNWURGKZcDaKx3b/vqBTeEQl67aOqcoynogyu3bprK6AMG1lkR/+iQzZdE6oQkVrbg30d/jLG4RjzdtAnv0H+IVXZ+ mny92fhoi3fTD2l/MRFH1mdXdLI63IdcmZdHUJuMWU+KhuvOBNPclImj Subject: [Edbrowse-dev] getAttributeNode / setAttributeNode 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: Sun, 20 Aug 2017 20:24:07 -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-157576 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Well as you see, I implemented getAttributeNode(), because it wasn't = hard, but a little harder than your example suggests because of side = effects. Setting value has to propagate down to setattribute in the original = element, which I do with a setter. With this in place, much of eb$qs is working. Sounds like I misunderstood though, and it should really be called = querySelectorAll, but that's just a one line change if we want to do = that. Let me know if that's what we should do. I notice inside the code it checks navigator.userAgent, so it tailors = itself to the kind of browser we are. God knows what it does with edbrowse. :) Anyways, to make this all work standalone, without edbrowse, duk -i = startwindow.js, I had to put in something for navigator.userAgent, or = it was blowing up. Line 195. Karl Dahlke --nextpart-eb-157576--