Skip to content

Commit

Permalink
[scoped-custom-element-registry] Improve issues related to `formAssoc…
Browse files Browse the repository at this point in the history
…iated` (#581)

* `formAssociated` set to first definition setting
* use polyfill unconditionally and add registry to ShadowRootInit
* support `getName` on registry

---------

Co-authored-by: Steve Orvell <sorvell@orvellia.com>
  • Loading branch information
sorvell and Steve Orvell committed Jun 6, 2024
1 parent 14abde7 commit aeb2038
Show file tree
Hide file tree
Showing 4 changed files with 712 additions and 606 deletions.
14 changes: 14 additions & 0 deletions packages/scoped-custom-element-registry/CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

<!-- ## Unreleased -->

## [Unreleased]

### Added

- registry in ShadowRootInit; matches current proposal but customElements
remains supported for compatibility

### Changed

- polyfill always used; conditional installation blocked by need for spec

- formAssociated set by first name's defining value or if
CustomElementRegistryPolyfill.formAssociated set contains name

## [0.0.9] - 2023-03-30

- Update dependencies ([#542](https://github.com/webcomponents/polyfills/pull/542))
Expand Down
Loading

0 comments on commit aeb2038

Please sign in to comment.