From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from resqmta-ch2-03v.sys.comcast.net (resqmta-ch2-03v.sys.comcast.net [IPv6:2001:558:fe21:29:69:252:207:35]) by hurricane.the-brannons.com (Postfix) with ESMTPS id EC74177ACE for ; Sun, 16 Jun 2019 11:44:55 -0700 (PDT) Received: from resomta-ch2-08v.sys.comcast.net ([69.252.207.104]) by resqmta-ch2-03v.sys.comcast.net with ESMTP id cZvphTcsuGd4oca95hs99P; Sun, 16 Jun 2019 18:44:51 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=comcast.net; s=20190202a; t=1560710691; bh=VDRkzS/IfxW5GTJw0SAgumHbW2Sh4tl7PlDp3kYn+mg=; h=Received:Received:To:From:Reply-to:Subject:Date:Message-ID: Mime-Version:Content-Type; b=KYcNqVFTHY3wqi0o+sJHsBVXtnw9pkAkAleX52x3Y7mpPYfC4Z0WFG1DcnoCMNPNe qRcAs8BYSLzznc9hv+hnvY+IUcCp51ABsk8dDiG6S7dbOHwKlPLB4Q7hzqhIxQzXlm ekLIFAl7xlutSA/QHDnyOC9NSuSY0DoI1IKc9MFdPibVVWoz9fXbhc/JmzwBdLI4/D 2nH7zCuigQta3CI/cL/mQY2S6SQVRq7E2G8+3hyBZU4chjrTjxlRF92iH9FW7u0rYn W/+KfQR+mMI5X4t44g43IgkL11KQeLwNfiyXmiUznh4z3k+eXGTeeBp5Q4JL8wKb7x s+2augt53+mmw== Received: from unknown ([IPv6:2601:408:c303:3f49:21e:4fff:fec2:a0f1]) by resomta-ch2-08v.sys.comcast.net with ESMTPSA id ca94h9P9TjGx4ca95hML2R; Sun, 16 Jun 2019 18:44:51 +0000 X-Xfinity-VMeta: sc=0;st=legit To:edbrowse-dev@lists.the-brannons.com From: Karl Dahlke Reply-to: Karl Dahlke References: User-Agent: Mozilla/4.0 (compatible; MSIE 7.0; Windows NT 6.1; WOW64; Trident/5.0; SLCC2; .NET CLR 2.0.50727; .NET CLR 3.5.30729; .NET CLR 3.0.30729; Media Center PC 6.0; .NET4.0C; .NET4.0E) Subject: [edbrowse-dev] dataset / offsetWidth Date: Sun, 16 Jun 2019 14:44:55 -0400 Message-ID: <20190516144455.eklhad@comcast.net> X-BeenThere: edbrowse-dev@edbrowse.org List-Id: Edbrowse Development List Mime-Version: 1.0 Content-Type: multipart/mixed; boundary=nextpart-eb-459895 Content-Transfer-Encoding: 7bit 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-459895 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable if (strncmp(a[i],"data-",5)=3D=3D0) { jsobjtype dso =3D get_property_object(t->jv,"dataset"); if(dso) set_property_string(dso, a[i]+5, u); } That looks ok, do you want me to code or do you want to code and make a = pull request. I don't mind setting default heights and widths on just about = everything, I guess we have to, and it's *way* too much bother to figure out what they should really = be, cause we'd have to essentially lay out the screen, and edbrowse = doesn't have a screen. But 1024 by 768 is prety heavy handed. A span with 2 letters shouldn't take the whole screen. I would make the height 16 the pixels of a single character, and the = width like 120 or about 15 characters. Some day when we're ambitious we can guess how much "stuff" is in that = element and if it's 50 characters then make it wider, but we have to start somewhere. Yes you would takc these onto c.prototype. Again do you want to or should I/ c.prototype.clientHeight =3D 16; c.prototype.clientWidth =3D 120; c.prototype.offsetHeight =3D 16; c.prototype.offsetWidth =3D 120; c.prototype.scrollHeight =3D 16; c.prototype.scrollWidth =3D 120; c.prototype.scrollTop =3D 0; c.prototype.scrollLeft =3D 0; Karl Dahlke --nextpart-eb-459895--