Rename legacy extended attributes in webidls

https://github.com/whatwg/webidl/pull/870
This commit is contained in:
sagudev 2023-02-19 14:05:45 +01:00
parent 2acdeabaf5
commit 55dac83d9a
51 changed files with 83 additions and 83 deletions

View file

@ -3,7 +3,7 @@
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
// https://html.spec.whatwg.org/multipage/#htmlimageelement
[Exposed=Window, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
[Exposed=Window, LegacyFactoryFunction=Image(optional unsigned long width, optional unsigned long height)]
interface HTMLImageElement : HTMLElement {
[HTMLConstructor] constructor();
@ -48,7 +48,7 @@ partial interface HTMLImageElement {
attribute DOMString longDesc;
[CEReactions]
attribute [TreatNullAs=EmptyString] DOMString border;
attribute [LegacyNullToEmptyString] DOMString border;
};
// https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlimageelement-interface