npm happy-dom 10.6.0
v10.6.0

latest releases: 15.7.4, 15.7.3, 15.7.2...
13 months ago

🎨 Features

  • Broader support for HTMLLabelElement control.This supports nested / descendent input elements for HTMLLabelElement's control property and also supports other labelable elements, as described in the spec:https://html.spec.whatwg.org/multipage/forms.html#category-labelTo be fully spec-compliant, the control getter would ignore for element(s) that aren't labelable elements, and labelable elements would also include form-associated custom elements.I'm using a CSS selector for this, because that seemed like the most convenient approach, but if another approach would be better (e.g., for performance?), please let me know.Fixes #530. (#530)

Don't miss a new happy-dom release

NewReleases is sending notifications on new releases.