Re: [whatwg/dom] Define processing instruction attributes (PR #1454)

noamr left a comment (whatwg/dom#1454)

> @noamr apologies for this last question: 

No apology needed and feel free for it to not be your last!

> I've checked tests to shape the poly and what I haven't found in there is any test for `pi.attributes` as read-only accessor ... has this been discussed at all, would this ever land or ... _YAGNI_ ? Thanks, that proxy/map/iterable thing would add bloat but I was curious to understand if it's needed (or will be needed) at all ... I am all for the _YAGNI_ approach though, for what is worth it.

I'm not opposed to it and I think it wasn't discussed. It can't be a `NamedNodeMap` because it doesn't have an element backing, so it would be slightly different in any case.
It's easy enough to add if there is popular demand.

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

Message ID: <whatwg/dom/pull/1454/c4799057878@github.com>

Received on Thursday, 25 June 2026 12:11:40 UTC