Firefox for Web Developers @webdevs.firefox.com · Dec 17

HTML invoker commands are newly baseline! Here's how they work…

147 likes 6 replies

?

Replies

claas · Dec 17

It would be nice if inside a form they could be triggered by the enter key just like submitting. I sometimes need to open an “are you sure?” type of dialog before submitting a form and putting the actual submit button inside the dialog already works with the button form attribute.

Corn Woman 🌽 · Dec 17

Neat!

Andrew Bone · Dec 18

I'm always glad to use less JS but I still think top-layer isn't quite ready for the mainstream and until it is not many people will embrace it. My thoughts if you're interested, though I wrote it a while ago now. dev.to/link2twenty/...

D++ · Dec 17

So now we're seeing "imperative-declarative" programming on the rise. It could have been conceived the other way around (in a more "functional-declarative" way), like: ```html <dialog openedby="btn1" closedby="btn2"></dialog> <button id="btn1">open</button> <button id="btn2">close</button> ```

🚫🧊🇮🇷🇵🇸Devonian Driftwood · Dec 20

No AI! No one wants your stupid slop

#c0ffee 🇺🇦🏳️‍⚧️ · Dec 18

Is this real or more AI shite?