element-internals-polyfill icon indicating copy to clipboard operation
element-internals-polyfill copied to clipboard

A polyfill for the element internals specification

Results 28 element-internals-polyfill issues
Sort by recently updated
recently updated
newest added

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @​mohd-akram in jonschlinkert/word-wrap#24 🔒fix: CVE 2023 26115 (2) by @​OlafConijn in...

dependencies

Bumps [tough-cookie](https://github.com/salesforce/tough-cookie) from 4.1.2 to 4.1.3. Release notes Sourced from tough-cookie's releases. 4.1.3 Security fix for Prototype Pollution discovery in #282. This is a minor release, although output from the...

dependencies

Consider this example custom element [codepen](https://codepen.io/bennyp/pen/KKxRErL?editors=1010): ```html Menu import 'element-internals-polyfill'; customElements.define('x-menu', class XMenu extends HTMLElement { #internals = this.attachInternals(); constructor() { super(); this.#internals.role = 'menu'; } }); ``` Chromium 111...

As in Real Soon Now: https://twitter.com/rniwa_dev/status/1611516973770477568 How do you test a polyfill when all modern browsers support the API? Fix the playwright WebKit version to an older one?

Ok so, somehow managed to make this work on playwright-webkit - The FileList implementation being immutable, I've used the DataTransfer.files API (which is not great but does the job) -...

Hey - thanks a lot for this polyfill ! I run into a situation where elements that have a `formAssociated` = true , but do not call `attachInternals` in their...

With the deprecation of the `:--state` syntax, I imagine the restrictions around requiring the `--` prefix should be removed. https://groups.google.com/a/chromium.org/g/blink-dev/c/GDmNaxAuCY4/m/WOQD5uRTAQAJ https://html.spec.whatwg.org/multipage/custom-elements.html#exposing-custom-element-states It has not been implemented in Chrome yet, but...

Receiving the following typescript error in my Angular app: ``` Error: node_modules/.pnpm/[email protected]/node_modules/element-internals-polyfill/dist/element-internals.d.ts:4:22 - error TS2420: Class 'ElementInternals' incorrectly implements interface 'IElementInternals'. Type 'ElementInternals' is missing the following properties from type...

the [`createHiddenInput`](https://github.com/calebdwilliams/element-internals-polyfill/blob/87b2d27d7da4354e66c33acc17badfb6608e5a58/src/utils.ts#L47) method called when a polyfilled element has a `name` attribute breaks lit-template (the dom is manipulated outside lit and the refs of the template are then incorrect). First...

Fix #127 The regression test does not pass on webkit without the fix