-
-
Notifications
You must be signed in to change notification settings - Fork 3.6k
Operator new doesn't set is-value for custom elements #35929
Copy link
Copy link
Closed
Labels
A-content/bindingsThe DOM bindingsThe DOM bindingsI-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.
Description
let klass = eval(`(class extends HTMLAnchorElement {})`);
customElements.define("my-a", klass, { extends: "a" });
let foo = new klass();
let bar = document.createElement("a", {is: "my-a"});foo's is value is None, bar's is value is Some(Atom('my-a' type=inline)).
This is causing around 100 tests in custom-elements/builtin-coverage.html to fail.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
A-content/bindingsThe DOM bindingsThe DOM bindingsI-wrongAn incorrect behaviour is observed.An incorrect behaviour is observed.