From 2b02497a253bf264aaabb8fbaa8e33956e61ffd4 Mon Sep 17 00:00:00 2001 From: Elizabeth Mitchell Date: Tue, 30 Apr 2024 08:20:17 -0700 Subject: [PATCH] chore(switch): remove comment on button content PiperOrigin-RevId: 629418950 --- switch/internal/switch.ts | 3 --- 1 file changed, 3 deletions(-) diff --git a/switch/internal/switch.ts b/switch/internal/switch.ts index 570f25627..cb0d1caef 100644 --- a/switch/internal/switch.ts +++ b/switch/internal/switch.ts @@ -100,9 +100,6 @@ export class Switch extends switchBaseClass { } protected override render(): TemplateResult { - // NOTE: buttons must use only [phrasing - // content](https://html.spec.whatwg.org/multipage/dom.html#phrasing-content) - // children, which includes custom elements, but not `div`s return html`