mirror of
https://github.com/servo/servo
synced 2026-04-26 01:25:32 +02:00
Partially implement dialog.showModal() (#40405)
Partially implement dialog.showModal() Follow-ups will be needed to further implement proper dialog functionality but this makes a good start. Testing: Existing WPTs cover this. --------- Signed-off-by: Luke Warlow <lwarlow@igalia.com>
This commit is contained in:
@@ -10,10 +10,12 @@ interface HTMLDialogElement : HTMLElement {
|
||||
[CEReactions]
|
||||
attribute boolean open;
|
||||
attribute DOMString returnValue;
|
||||
[CEReactions]
|
||||
[Throws, CEReactions]
|
||||
undefined show();
|
||||
// [CEReactions]
|
||||
// void showModal();
|
||||
[Throws, CEReactions]
|
||||
undefined showModal();
|
||||
[CEReactions]
|
||||
undefined close(optional DOMString returnValue);
|
||||
// [CEReactions]
|
||||
// undefined requestClose(optional DOMString returnValue);
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user