- From: Austin Cheney <notifications@github.com>
- Date: Mon, 21 Jun 2021 16:44:55 -0700
- To: whatwg/dom <dom@noreply.github.com>
- Cc: Subscribed <subscribed@noreply.github.com>
Received on Monday, 21 June 2021 23:46:02 UTC
@liamquin I have been using this approach for about 9 years, and it absolutely opens up new possibilities developers never would have considered otherwise, because the existing methods forcefully suggest the only way to navigate a document is via query of elements. Most of the benefits provided by this are second and third order consequences to tooling. For example, this code has allowed me to write a getElementsByText method where I can get all text nodes and then filter that list matching against a string fragment. -- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/whatwg/dom/issues/992#issuecomment-865417729
Received on Monday, 21 June 2021 23:46:02 UTC