Re: [whatwg/dom] Use ASCII spaces in the getElementsByClassName example (PR #1528)

@annevk commented on this pull request.



>   would only return one node, however, namely <code>p3</code>. A call to
- <code class=lang-javascript>document.getElementById("example").getElementsByClassName("bbb&nbsp;&nbsp;ccc&nbsp;")</code>
+ <code class=lang-javascript>document.getElementById("example").getElementsByClassName("bbb  ccc ")</code>

I guess this is okay, but then let's just use a single space after bbb as it'll not be rendered anyway.

-- 
Reply to this email directly or view it on GitHub:
https://github.com/whatwg/dom/pull/1528#pullrequestreview-5902534163
You are receiving this because you are subscribed to this thread.

Message ID: <whatwg/dom/pull/1528/review/5902534163@github.com>

Received on Saturday, 14 November 2026 07:12:37 UTC