diff --git a/source b/source index 864a982e0de..15d5da9f177 100644 --- a/source +++ b/source @@ -61735,6 +61735,20 @@ interface HTMLDialogElement : HTMLElement { caused focus to jump to the Agree button, which is a bad user experience.

+
+

This dialog box has some small print. The strong element is used to draw the + user's attention to the more important part.

+ +
<dialog>
+ <h1>Add to Wallet</h1>
+ <p><strong><label for=amt>How many gold coins do you want to add to your wallet?</label></strong></p>
+ <p><input id=amt name=amt type=number min=0 step=0.01 value=100></p>
+ <p><small>You add coins at your own risk.</small></p>
+ <p><label><input name=round type=checkbox> Only add perfectly round coins</label></p>
+ <p><input type=button onclick="submit()" value="Add Coins"></p>
+</dialog>
+
+

The open attribute is a boolean attribute. When specified, it indicates that the dialog element is active and that the user can interact with it.

@@ -62354,20 +62368,6 @@ interface HTMLDialogElement : HTMLElement { -
-

This dialog box has some small print. The strong element is used to draw the - user's attention to the more important part.

- -
<dialog>
- <h1>Add to Wallet</h1>
- <p><strong><label for=amt>How many gold coins do you want to add to your wallet?</label></strong></p>
- <p><input id=amt name=amt type=number min=0 step=0.01 value=100></p>
- <p><small>You add coins at your own risk.</small></p>
- <p><label><input name=round type=checkbox> Only add perfectly round coins</label></p>
- <p><input type=button onclick="submit()" value="Add Coins"></p>
-</dialog>
-
-

Dialog light dismiss

"Light dismiss" means that clicking outside of a dialog element whose