From 92bcb547015eb9773953a8d8de250f3eca553b1d Mon Sep 17 00:00:00 2001 From: Ana Sollano Kim Date: Mon, 6 Jul 2026 12:45:46 -0700 Subject: [PATCH 1/5] Add HTMLButtonBehavior with type attribute alternative Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> --- .../htmlbuttonbehavior-with-type-attribute.md | 394 ++++++++++++++++++ 1 file changed, 394 insertions(+) create mode 100644 PlatformProvidedBehaviors/htmlbuttonbehavior-with-type-attribute.md diff --git a/PlatformProvidedBehaviors/htmlbuttonbehavior-with-type-attribute.md b/PlatformProvidedBehaviors/htmlbuttonbehavior-with-type-attribute.md new file mode 100644 index 000000000..2420342b2 --- /dev/null +++ b/PlatformProvidedBehaviors/htmlbuttonbehavior-with-type-attribute.md @@ -0,0 +1,394 @@ +# Alternative: HTMLButtonBehavior + +This document explores an alternative direction for [platform-provided behaviors](explainer.md). This alternative differs in two ways: + +1. It collapses the three button modes into a single `HTMLButtonBehavior` whose `type` property mirrors the `type` attribute of native `