LibWeb: Port HTMLOptionElement interface from DeprecatedString to String

This commit is contained in:
Shannon Booth 2023-09-03 15:51:13 +12:00 committed by Tim Flynn
commit 7206f1777a
Notes: sideshowbarker 2024-07-17 01:04:03 +09:00
4 changed files with 13 additions and 16 deletions

View file

@ -1,7 +1,7 @@
#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/form-elements.html#htmloptionelement
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false), UseDeprecatedAKString]
[Exposed=Window, LegacyFactoryFunction=Option(optional DOMString text = "", optional DOMString value, optional boolean defaultSelected = false, optional boolean selected = false)]
interface HTMLOptionElement : HTMLElement {
[HTMLConstructor] constructor();