Lanny
Lanny
Same problem in macvim 10.9.2. Works fine when I don't use the terminal version though.
> We should investigate if we could somewhat easily build and ship e.g. [core-js](https://github.com/zloirock/core-js), [ungap](https://ungap.github.io/) or [Polyfill.io](https://www.polyfill.io/) in a way where we only get the polyfills we actually need. corejs...
It looks like the button is being excluded because it has the CSS `opacity: 0;` applied to it (presumably as part of how wikipedia implements a no-js dropdown menu). I'm...
@nickmccurdy if you could take a look at this when you get a chance, I'd appreciate it!
FWIW the issue seems to affect happy-dom when used by RTL but not jquery, here's a branch adding two tests around this issue as a demonstration: https://github.com/Lanny/happy-dom/commit/81b88b8832a39da602e8ac197091868b0f7ca039
I think the issue is that the "label click induces input click" behavior is something that's been implemented both by @testing-library/user-event here: https://github.com/testing-library/user-event/blob/main/src/event/behavior/click.ts#L13 and by happy-dom here: https://github.com/capricorn86/happy-dom/blob/c29f36c5644eacd0546b5c302ecd6bd7feacf50f/packages/happy-dom/src/nodes/html-label-element/HTMLLabelElement.ts although presumably...
For what it's worth the [WHATWG html spec](https://html.spec.whatwg.org/multipage/forms.html#the-label-element) has this to say: > The [label](https://html.spec.whatwg.org/multipage/forms.html#the-label-element) element's exact default presentation and behavior, in particular what its [activation behavior](https://dom.spec.whatwg.org/#eventtarget-activation-behavior) might be, if...
Did some more digging, it looks like jsdom does in fact handle the click-on-label behavior, however user-event does this weird thing in its own implementation where it calls `.preventDefault()` on...
I chased this around a little bit, nothing conclusive but suspect it's something on the Qt side. Some notes in case they're helpful: - Under normal circumstances `webelem.js` gets executed...
Partially fixed (for the feedback comment case) by #728