I can't use edbrowse sm at the moment so in case alpine adds bad linefeeds, please refer to the attached From c5653a8493bf6bf898355431b6fbc1ebcc09e566 Mon Sep 17 00:00:00 2001 From: Kevin Carhart Date: Sun, 16 Jun 2019 19:55:10 -0700 Subject: [PATCH] Makes html data-* attributes available in element.dataset object. Also adds screen dimension properties to element.prototype. --- src/decorate.c | 12 ++++++++++++ src/jsrt | 4 +++- src/startwindow.js | 8 ++++++++ 3 files changed, 23 insertions(+), 1 deletion(-) diff --git a/src/decorate.c b/src/decorate.c index 52e2459..c9ad47a 100644 --- a/src/decorate.c +++ b/src/decorate.c @@ -937,6 +937,7 @@ static void domLink(struct htmlTag *t, const char *classname, /* instantiate thi const char *stylestring = attribVal(t, "style"); jsobjtype so = 0; /* obj.style */ jsobjtype ato = 0; /* obj.attributes */ + jsobjtype dso = 0; /* obj.dataset */ char upname[MAXTAGNAME]; debugPrint(5, "domLink %s.%d name %s", @@ -1043,6 +1044,8 @@ Don't do any of this if the tag is itself