01:29 | <Domenic> | Maybe we should clarify the adding features faq entry to say somewhere that it's ok to write a spec proposal (and link somewhere for a template or further guidance) before getting implementer interest... c.f. https://github.com/whatwg/html/issues/7794#issuecomment-2042617709 and https://x.com/LeaVerou/status/1832791622813127000 I feel like https://whatwg.org/faq#adding-new-features covers it... not sure where the impression of this came from. |
01:50 | <sideshowbarker> | Hey everyone, new to Matrix so hopefully this is the right place to ask.
What was the reasoning making the <details> element firing the ontoggle event when it renders with open attribute being present?
We use Next.js/React at work, and I think most devs expect that most events are triggered by something done by the user, like onchange , onsubmit , onclick . So it isn't far-fetched to assume a dev would believe ontoggle would be triggered when the <details> is opened/closed and not necessarily because it has mounted/rendered open.
Maybe I'm misreading this GitHub issue but if I'm reading it correctly, it does sound like there were some concerns about that as well - https://github.com/whatwg/html/issues/4500
I contributed to the spec patch for that, and also implemented it in WebKit, and I don't recall any specific discussion about only firing the event on actual user-initiated toggling of details. I think the initial spec patch/PR had it the same way it's in the spec now, and maybe nobody questioned it. I don't personally know if we have precedents for instead doing what you describe — but especially if we do have, then it seems worth revisiting. @mfreed:matrix.org and @ntim:mozilla.org are two people who know more and could speak with more insight about it than I can. |
02:01 | <Domenic> | How do we normally handle things like https://github.com/whatwg/fetch/issues/1772 and https://github.com/whatwg/console/issues/238? Do we just trust that the translation is good and link to it? (i.e., I assume that's what we did for the JP translations) Yeah, that has been the approach. |