From fdb64fd4518079c53fa9775ad53a79f99f07d1b4 Mon Sep 17 00:00:00 2001 From: Pankaj Patil Date: Thu, 8 Jul 2021 00:56:25 +0530 Subject: [PATCH] Fix custom elements example getter Closes #6819. Closes #6825 by superseding it. --- source | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/source b/source index b0d957a9814..67e34b74534 100644 --- a/source +++ b/source @@ -66984,7 +66984,7 @@ document.body.appendChild(flagIcon) get name() { return this.getAttribute('name'); } get type() { return this.localName; } - get checked() { return this.getAttribute('checked'); } + get checked() { return this.hasAttribute('checked'); } set checked(flag) { this.toggleAttribute('checked', Boolean(flag)); } attributeChangedCallback(name, oldValue, newValue) {