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:42; helo=resqmta-ch2-10v.sys.comcast.net; envelope-from=eklhad@comcast.net; receiver= Received: from resqmta-ch2-10v.sys.comcast.net (resqmta-ch2-10v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:42]) by hurricane.the-brannons.com (Postfix) with ESMTPS id 8601677AFE for ; Sun, 20 Aug 2017 07:33:21 -0700 (PDT) Received: from resomta-ch2-02v.sys.comcast.net ([69.252.207.98]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id jRI0dlAsE3wsIjRIIdE993; Sun, 20 Aug 2017 14:33:38 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1503239618; bh=nG2x/3JNlPq6LwecK1y1Ufhf+sFGtifqR4y0aLqqiVo=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=KoQkiBLURMaEH/7ocG+265dL2sWxkm8/FI6Hvmc3xdyC+CdmYRQl9rfJUs81R/Iqe bvF2eoYJ5jOogavU6wQIfJQHoOpFFErClZrBNZdfTwoT9blGHSlodx8lHpv3clMafS RTf4+I6ohlSxMg2ZXGzDh2NlyTLSSXB2+Y685QiKXpWXRUGkPK65ZgAuYKvgpVpw5/ dgO3ehoxIijehFNx1pMffrnaNE9/+7o3Z/jHwQYMiljMYIcI3IqmPbcBTqugHYc4/v eOp2uD5Gng7QzibBLag0NXbErNRCOgoVPAMuALoKjrJ2Zs12EaAcOZxM0b6o/zHOvx DM6nt3AFRw/1w== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-02v.sys.comcast.net with SMTP id jRIHdG7Qh13A8jRIHdknBR; Sun, 20 Aug 2017 14:33:38 +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 10:33:37 -0400 Message-ID: <20170720103337.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-885593 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfFZaLv0KPaIzSSFV7dB7zkPG/pua9wtSww2EHZV2H3pkGiQQTgIlLPLuKvAJSEqkveev0DelwUmAQsoHa++ZK4/16KrAGT3sYHVXcK5ZT/wU8iaf8nzb +ungqNedpnkRGw6SHWJ1VR70GcmMZLCua0NdaHVXN+aYm+QqfmaqgsMY Subject: [Edbrowse-dev] acid[0] 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 14:33:21 -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-885593 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Ok Kevin, all that free software is just too irresistable! I put both functions in startwindow.js and pushed, so everybody have a = look. The css parser works like a dream! You can even do it stand alone. duk -i startwindow.js parser =3D new cssjs; list =3D parser.parseCSS(css_string); list is an array of the css descriptors in the string. Each is an object with members: selector, rules, comment. The selector is something like "p.snork". Rules is another array of all the keyword value pairs like bgcolor =3D = white It's so simple and clean. I took the ridiculous