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 4573977893 for ; Tue, 13 Feb 2018 23:59:01 -0800 (PST) Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-11v.sys.comcast.net with ESMTP id lryjeEub89nyFlrymeMGWI; Wed, 14 Feb 2018 07:59:48 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1518595188; bh=UUj8WAEm0fv1hn5xPVwKEbcHEWEDm4xIx+ptHvL2R7Q=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=WZ1mrdhREsoLMlnekc3jM0TcQLqtn79/zSBj8ScMjQ2L+V95Y9/omap2wuUl1AFMe IBbGEds0HaUKwW3+ixEcrAdy85b5HFbAxmvGj/l0lGTFw7sZtFTrZQXKoDMJ5kttQ9 IUA3Ij/4rBeEK5jVaqsGUOoJSiSA6GkNiMpjZfe9qRGh1bGRHbiEExqYKt/GoCcBSE /LfX3fBxOSGJh3IpRNo+X39aHCVtyAAgWDOzD1qvDH8L9XS8Vh1DDDwEdcAtR+SVZ6 PixOekD/rJ7pisO6AbgHCTOjBugK7+xbhKUJWMXQJ4xcJO1fgGTqs5s19GlQ+uxLKJ UECgBpBGH7VBg== Received: from unknown ([IPv6:2601:408:c300:8f09:21e:4fff:fec2:a0f1]) by resomta-ch2-02v.sys.comcast.net with SMTP id lrymeRgs4tbS7lrymekS1s; Wed, 14 Feb 2018 07:59:48 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: <20180113134131.eklhad@comcast.net> User-Agent: edbrowse/3.7.1 Date: Wed, 14 Feb 2018 02:59:48 -0500 Message-ID: <20180114025948.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: text/plain Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfA7aYdbmf6vijH09L8AmATAeqWCJciER3iO+8Fjb/RPW33t7LI/FcX1HbqKNxvE70nPnWzHRpHMbnMlhokWWGZx6rc2R9SatN+xUPMW0ITFgfyi9bvV0 +2W04rc2r0KggD8UGtc/Azjq0Ve25o3sYPdR8gvwVbyNi49FXTXnh0Pb Subject: [Edbrowse-dev] css parser X-BeenThere: edbrowse-dev@lists.the-brannons.com X-Mailman-Version: 2.1.25 Precedence: list List-Id: Edbrowse Development List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Feb 2018 07:59:01 -0000 Some stats: on the monster stackoverflow css, their parser finds 3097 descriptors, mine finds 3711. Who's right? Got me! Of the 3711, there are 153 that I don't understand or haven't implemented. Some of them, like @directives, I'm not suppose to implement. Others I know how to address but it's one thing at a time. Still 153 out of 3711 isn't bad for version 1. I think querySelectorAll will come together soon, unless I'm missing something important here. It's fun to program again, especially in js, where I can wield a regexp like a giant hammer, where one (somewhat ugly) line of code does the equivalent of a page of C. Chris remembrers, when we wrote version 1 of edbrowse in perl. Karl Dahlke