| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
There was a problem hiding this comment.
This looks fine, but I have a few questions as I'm slightly confused by the DOM spec.
Sorry, something went wrong.
| dom_node_idx_pair start_point = dom_obj_map_get_start_point(map, nodep, index); | ||
| if (start_point.node) { | ||
| if (start_point.index > 0) { | ||
| /* Only start iteration at next point if we actually have an index to seek to. */ |
There was a problem hiding this comment.
FWIW, I did a correction here because we don't want to immediately skip the current index if the current index is already the one we need.
Sorry, something went wrong.
| Back | FazBrowse Home | New Git URL |
Spec: https://dom.spec.whatwg.org/#ref-for-dom-element-getelementsbyclassname