mirror of
https://github.com/servo/servo
synced 2026-04-27 09:57:23 +02:00
Rename legacy extended attributes in webidls
https://github.com/whatwg/webidl/pull/870
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user