Skip to content

Commit 2b02497

Browse files
asyncLizcopybara-github
authored andcommitted
chore(switch): remove comment on button content
PiperOrigin-RevId: 629418950
1 parent 1bf8b5f commit 2b02497

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

switch/internal/switch.ts

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,6 @@ export class Switch extends switchBaseClass {
100100
}
101101

102102
protected override render(): TemplateResult {
103-
// NOTE: buttons must use only [phrasing
104-
// content](https://html.spec.whatwg.org/multipage/dom.html#phrasing-content)
105-
// children, which includes custom elements, but not `div`s
106103
return html`
107104
<div class="switch ${classMap(this.getRenderClasses())}">
108105
<input

0 commit comments

Comments
 (0)