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 89DF677C83 for ; Thu, 24 Aug 2017 03:14:36 -0700 (PDT) Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-10v.sys.comcast.net with ESMTP id kpADdnxicXawVkpADdeS4x; Thu, 24 Aug 2017 10:15:01 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=q20161114; t=1503569701; bh=nktxTHngGdPdeUb8Qfz+3614tKY1wzzfNxHTivpvvLU=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=UxK62XEraW/Vf5lTNWb1bNG7KNBPQ8MnF1IeNI2va58fNVc0qC1wImJzJ0RjjZIQL 5Sx6jFaYYCVUTK1m+eCNZxBUZkyOCc7GfoViSbJPJ4lasFH0DZdTf7PWlvCKXWJTq9 dhu36QUDiujdSLA429bdJPwYrmYLtoH+7ouGL1lyDy/iA9secxrfPtalHae6QWehL/ 8N4/iioSjdmY3BKComHgDmesDzu/Tk7GILw1g/jIfFtww6CFDfc9NWT53tmiipN5la wkmBOjZLyaL4YlOVxkuy4ydLCa9MLOoiHs2DGBPsaJLiVmLBM5ALus/5tDWZkxLbuo 6UjNWPh449q9g== Received: from unknown ([IPv6:2601:408:c301:784d:21e:4fff:fec2:a0f1]) by resomta-ch2-08v.sys.comcast.net with SMTP id kpACdAXiP9lolkpADdWo77; Thu, 24 Aug 2017 10:15:01 +0000 To: Edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke User-Agent: edbrowse/3.7.1 Date: Thu, 24 Aug 2017 06:15:00 -0400 Message-ID: <20170724061500.eklhad@comcast.net> Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-793462 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfAHzZlHw1g+BxYVDpWFn4H90kq9XLUZ+9V1sV+N5eBy7KTIokqiZAKGRAbRya7FNI3C326RWCiROuNV0TXw6ysHpAFupk9jlnsDhPZw5mKc3jKk2SaUV RVRQB8NFzRM8BfiL7D8HCHaWFynub+Z3HhLChFz5WPMGWhFDrrle3FFV Subject: [Edbrowse-dev] other bugs 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: Thu, 24 Aug 2017 10:14:36 -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-793462 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable The problem with using third party software is we sometimes find their = bugs, and then hope they fix them, or we work around them. acid test hunts for corner cases so not surprising it uncovers bugs. I already wrote about the tidy bug, not giving us the empty nodes, = which test 0 expects to be there, and so I guess every other browser = puts them there. I sent this question to Geoff. But turning to css, there are more problems. The parser that Kevin found for me doesn't parse comments corectly. If a comment contains a selector it is treated as a selector, not a = comment, and it's all screwed up from there. I reported this to jotform, no response yet. Ok this one seems like an easy work around. I don't need the comments preserved for any reason, so just strip them = out with a preprocessing regexp. css_string =3D css_string.replace(/\/\*(.|\s)*?\*\//g, ''); Yeah I know, it looks like line noise in the modem, but it's right, I'm = pretty sure, and works on the modest test strings that I give it, but it doesn't work on the style block that is part of acid test 0. RangeError: regexp executor recursion limit I used the nongreedy modifier to the wild card, so there really = shouldn't be any recursion at all, so I don't get it. I sent this to one of the duktape developers. With all these issues hanging, I'm rather in a holding pattern as per = the acid tests. Karl Dahlke --nextpart-eb-793462--