Skip to content

Commit

Permalink
chore(switch): remove comment on button content
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 629214971
  • Loading branch information
asyncLiz authored and copybara-github committed Apr 30, 2024
1 parent 1bf8b5f commit 55c882e
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions switch/internal/switch.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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`
<div class="switch ${classMap(this.getRenderClasses())}">
<input
Expand Down

0 comments on commit 55c882e

Please sign in to comment.