From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received-SPF: None (mailfrom) identity=mailfrom; client-ip=8.23.224.62; 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.62]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 3541A77DE5 for ; Sat, 2 Sep 2017 22:11:07 -0700 (PDT) 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 E34034B6 for ; Sat, 2 Sep 2017 22:11:53 -0700 (PDT) Received: from carhart.net (localhost [127.0.0.1]) by carhart.net (8.13.8/8.13.8) with ESMTP id v835BpwU018027 for ; Sat, 2 Sep 2017 22:11:51 -0700 Received: from localhost (kevin@localhost) by carhart.net (8.13.8/8.13.8/Submit) with ESMTP id v835BorE018021 for ; Sat, 2 Sep 2017 22:11:51 -0700 Date: Sat, 2 Sep 2017 22:11:50 -0700 (PDT) From: Kevin Carhart To: edbrowse-dev@lists.the-brannons.com Message-ID: User-Agent: Alpine 2.03 (LRH 1266 2009-07-14) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; CHARSET=US-ASCII; format=flowed Content-ID: Subject: [Edbrowse-dev] whitespace / a concordance to acid3 function use 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, 03 Sep 2017 05:11:07 -0000 Adam said: > First of all thanks for all the work you've all done on this and Thank you Adam! Well, you have successfully gotten us on to the trail of using acid3 as the guide for what to prioritize supporting. But now that we have discovered this whitespace thing is part of the world according to acid3, I wonder what their quality threshhold is about. Does it go further than we really need to go? Here's a question for Karl, Adam and everyone. Do you think it would be worthwhile if I prepared a little concordance to all 100 tests with what functions it expects to be able to call? Here's a sample. Test 7 is an example of a test with all kinds of crud I've never heard of before. Test 17 is an example of a test that walks in the footsteps of work we have already addressed and that is used constantly by real websites. I propose that I do the following sample entries for all 100. Then we would have a clue about how to triage. I don't suppose it would be that much work as I am just going to be scanning for unique javascript property and method names, and saying "these keywords pass the sanity test because we know they are actually called a lot, and these other keywords are obscure." Then we can use it to rank or bucket the 100 tests according to which ones have obscure "features" like the whitespace "feature" and which ones are about fundamental DOM topology and definitely worth our while. ------------------------------------------------------- Test 7: Basic ranges test KC: On a likert scale of 1 to 7, 1 being tests that hew closely to basic node operations and and 7 being tests that introduce questionable constructs which I sure as hell have never used before, my score for Test 7 is .... 7 The unimplemented things we would need to implement to pass Test 7 are: createRange commentAncestorContainer startContainer startOffset endContainer endOffset cloneContents cloneRange collapse compareBoundaryPoints deleteContents insertNode (??! Is there such a thing? We have insertBefore. Since when is there an insertNode?) setEnd If 7 is not already one of our passed tests, maybe we will end up skipping it because all of this range stuff has never come up in any find&fix research that I have worked on, at least. ---------------------------------------------------------- Test 17: hasAttribute KC: On a likert scale of 1 to 7, 1 being tests that hew closely to basic node operations and and 7 being tests that introduce questionable constructs I sure as hell have never used before, my score for Test 17 is..... 1 The unimplemented things we would need to implement to pass Test 7 are: None! The only things this test expects to be able to use are hasAttribute and getElementsByTagName. Easy, if not already a pass. -------------------------------------------------------------