mirror of
https://github.com/servo/servo
synced 2026-04-30 11:27:28 +02:00
Add HTMLConstructor attributes where needed
This commit is contained in:
@@ -3,7 +3,7 @@
|
||||
* file, You can obtain one at http://mozilla.org/MPL/2.0/. */
|
||||
|
||||
// https://html.spec.whatwg.org/multipage/#htmlimageelement
|
||||
[NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
|
||||
[HTMLConstructor, NamedConstructor=Image(optional unsigned long width, optional unsigned long height)]
|
||||
interface HTMLImageElement : HTMLElement {
|
||||
attribute DOMString alt;
|
||||
attribute DOMString src;
|
||||
|
||||
Reference in New Issue
Block a user