Hi guys
I was familiarizing myself with DOM discussions on the listserv over
2014-15, so that I can hopefully contribute and be up to date on
recent work when trying to figure out how. I've installed from github,
and have been taking a look at the startwindow.js. Maybe I could help
build out some pieces of DOM?
I noticed something in past DOM discussions on the list. A while ago,
Adam said, "Also, as per comments in startwindow.js, apparently we're
supposed to return something called a node list object rather than an
array from getElement* functions. No idea what one of these is yet, more
future research I think."
You may know this already, but the env.js code has a specification for
NodeList! I put it up at:
http://carhart.net/~kevin/nodelist.js
Adam, you said you had taken a look at env.js, right? I know it isn't
suitable as an implementation out of the box, but do you think env is
useable as a guide, for example if I was to try and adapt
document.getElementsByTagName to return a NodeList?
I notice in the env code that they cite URLs from w3, which makes me
hopeful that they have done good generic work that just happens to be in
javascript. Here's what they have to say about document and about the
'Node' class,
http://carhart.net/~kevin/document.js
http://carhart.net/~kevin/node.js
thanks!
Kevin
--------
Kevin Carhart * 415 225 5306 * The Ten Ninety Nihilists
_______________________________________________
Edbrowse-dev mailing list
[email protected]
http://lists.the-brannons.com/mailman/listinfo/edbrowse-dev