From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.61; helo=out.smtp-auth.no-ip.com; envelope-from=kevin@carhart.net; receiver= Received: from out.smtp-auth.no-ip.com (smtp-auth.no-ip.com [8.23.224.61]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 7795C779A5 for ; Mon, 11 Dec 2017 01:24:57 -0800 (PST) X-No-IP: carhart.net@noip-smtp X-Report-Spam-To: abuse@no-ip.com Received: from carhart.net (unknown [99.52.200.227]) (Authenticated sender: carhart.net@noip-smtp) by smtp-auth.no-ip.com (Postfix) with ESMTPA id 351293C8 for ; Mon, 11 Dec 2017 01:27:05 -0800 (PST) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id vBB9R4C7010350 for ; Mon, 11 Dec 2017 01:27:04 -0800 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id vBB9R4W8010347 for ; Mon, 11 Dec 2017 01:27:04 -0800 Date: Mon, 11 Dec 2017 01:27:04 -0800 (PST) From: Kevin Carhart To: edbrowse-dev@lists.the-brannons.com In-Reply-To: <20171110100858.eklhad@comcast.net> Message-ID: References: <20171110100858.eklhad@comcast.net> User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed Subject: Re: [Edbrowse-dev] document.head.querySelector 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, 11 Dec 2017 09:24:57 -0000 Thank you, Karl. That worked great and it retrieved the meta it is trying to retrieve. I have some bits and pieces I need to submit. But here are a couple more questions: - For the anchor element type, I think it needs a couple of the properties that we make use of on the URL class. Would it be ok to add a couple of these things to case "a" like case "a": c = new Anchor(); c.protocol = ""; c.pathname = ""; break; - xq wants document.createElementNS. Does this ring a bell? Maybe this would just be a wrapper to createElement which supplies the string "http://www.w3.org/1999/xhtml" Is namespaces a real issue or just a nominal, placeholder issue? It seems to me that it is just a nominal issue because MDN gives four valid namespace URIs, only one of which we would care about. They are for HTML, SVG, XBL and XUL. Who cares about the latter three? We don't support them, so I don't think we would hit name collisions between them. - I think there is something going on with cloneNode and whether cloneNode clones event handler code. So that's an interesting problem. Why now.. why not before now... I think maybe it's tested for in some versions of a library, like jquery, and maybe it wasn't previously. thanks Kevin On Sun, 10 Dec 2017, Karl Dahlke wrote: > Well it's true that document.head doesn't exist when startwindow runs, but Head does, so how bout > > Head.prototype.querySelector = function(x) { return querySelectorAll(x)[0] } > > Would something like that work? > > Karl Dahlke > _______________________________________________ > Edbrowse-dev mailing list > Edbrowse-dev@lists.the-brannons.com > http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev > -------- Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists