ladybird/Userland/Libraries/LibWeb/HTML/HTMLFontElement.idl
Shannon Booth a53459192f LibWeb: Add Optional<String> overload for Element::set_attribute
Which for now will just call the DeprecatedString version of this
function. This is intended to be used in porting code over to using the
new String equivalent with the end goal of removing the DeprecatedString
version of this function.

This allows us to port a whole heap of IDL interfaces from
DeprecatedString to String.
2023-09-02 19:23:41 +01:00

14 lines
392 B
Plaintext

#import <HTML/HTMLElement.idl>
// https://html.spec.whatwg.org/multipage/semantics.html#htmlfontelement
[Exposed=Window]
interface HTMLFontElement : HTMLElement {
[HTMLConstructor] constructor();
[CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString color;
[CEReactions, Reflect] attribute DOMString face;
[CEReactions, Reflect] attribute DOMString size;
};