Browse Source

LibWeb: Use FIXME extended attribute where possible

Tim Ledbetter 1 year ago
parent
commit
68a1a78a1a
28 changed files with 95 additions and 95 deletions
  1. 1 1
      Userland/Libraries/LibWeb/CSS/CSSStyleDeclaration.idl
  2. 3 3
      Userland/Libraries/LibWeb/CSS/FontFaceSet.idl
  3. 1 1
      Userland/Libraries/LibWeb/HTML/Canvas/CanvasCompositing.idl
  4. 4 4
      Userland/Libraries/LibWeb/HTML/Canvas/CanvasPathDrawingStyles.idl
  5. 7 7
      Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl
  6. 2 2
      Userland/Libraries/LibWeb/HTML/DataTransfer.idl
  7. 1 1
      Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl
  8. 8 8
      Userland/Libraries/LibWeb/HTML/HTMLElement.idl
  9. 3 3
      Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl
  10. 3 3
      Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl
  11. 4 4
      Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl
  12. 9 9
      Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl
  13. 10 10
      Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl
  14. 6 6
      Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl
  15. 6 6
      Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl
  16. 5 5
      Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl
  17. 3 3
      Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl
  18. 2 2
      Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl
  19. 2 2
      Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl
  20. 2 2
      Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl
  21. 1 1
      Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl
  22. 1 1
      Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl
  23. 1 1
      Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl
  24. 2 2
      Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl
  25. 2 2
      Userland/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl
  26. 2 2
      Userland/Libraries/LibWeb/IndexedDB/IDBRequest.idl
  27. 3 3
      Userland/Libraries/LibWeb/WebAudio/AudioNode.idl
  28. 1 1
      Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl

+ 1 - 1
Userland/Libraries/LibWeb/CSS/CSSStyleDeclaration.idl

@@ -14,6 +14,6 @@ interface CSSStyleDeclaration {
     [CEReactions] CSSOMString removeProperty(CSSOMString property);
 
     [FIXME] readonly attribute CSSRule? parentRule;
-    // FIXME: [CEReactions] attribute [LegacyNullToEmptyString] CSSOMString cssFloat;
+    [FIXME, CEReactions, LegacyNullToEmptyString] attribute CSSOMString cssFloat;
 
 };

+ 3 - 3
Userland/Libraries/LibWeb/CSS/FontFaceSet.idl

@@ -24,9 +24,9 @@ interface FontFaceSet : EventTarget {
     [FIXME] undefined clear();
 
     // events for when loading state changes
-    // FIXME: attribute EventHandler onloading;
-    // FIXME: attribute EventHandler onloadingdone;
-    // FIXME: attribute EventHandler onloadingerror;
+    [FIXME] attribute EventHandler onloading;
+    [FIXME] attribute EventHandler onloadingdone;
+    [FIXME] attribute EventHandler onloadingerror;
 
     // check and start loads if appropriate
     // and fulfill promise when all loads complete

+ 1 - 1
Userland/Libraries/LibWeb/HTML/Canvas/CanvasCompositing.idl

@@ -2,5 +2,5 @@
 interface mixin CanvasCompositing {
     // compositing
     attribute unrestricted double globalAlpha; // (default 1.0)
-    // FIXME:  attribute DOMString globalCompositeOperation; // (default "source-over")
+    [FIXME] attribute DOMString globalCompositeOperation; // (default "source-over")
 };

+ 4 - 4
Userland/Libraries/LibWeb/HTML/Canvas/CanvasPathDrawingStyles.idl

@@ -5,11 +5,11 @@ enum CanvasLineJoin { "round", "bevel", "miter" };
 // https://html.spec.whatwg.org/multipage/canvas.html#canvaspathdrawingstyles
 interface mixin CanvasPathDrawingStyles {
     attribute unrestricted double lineWidth;
-    // FIXME: attribute CanvasLineCap lineCap;
-    // FIXME: attribute CanvasLineJoin lineJoin;
-    // FIXME: attribute unrestricted double miterLimit;
+    [FIXME] attribute CanvasLineCap lineCap;
+    [FIXME] attribute CanvasLineJoin lineJoin;
+    [FIXME] attribute unrestricted double miterLimit;
 
     [FIXME] undefined setLineDash(sequence<unrestricted double> segments);
     [FIXME] sequence<unrestricted double> getLineDash();
-    // FIXME: attribute unrestricted double lineDashOffset;
+    [FIXME] attribute unrestricted double lineDashOffset;
 };

+ 7 - 7
Userland/Libraries/LibWeb/HTML/Canvas/CanvasTextDrawingStyles.idl

@@ -14,11 +14,11 @@ interface mixin CanvasTextDrawingStyles {
     attribute DOMString font; // (default 10px sans-serif)
     attribute CanvasTextAlign textAlign; // (default: "start")
     attribute CanvasTextBaseline textBaseline; // (default: "alphabetic")
-    // FIXME: attribute CanvasDirection direction; // (default: "inherit")
-    // FIXME: attribute DOMString letterSpacing; // (default: "0px")
-    // FIXME: attribute CanvasFontKerning fontKerning; // (default: "auto")
-    // FIXME: attribute CanvasFontStretch fontStretch; // (default: "normal")
-    // FIXME: attribute CanvasFontVariantCaps fontVariantCaps; // (default: "normal")
-    // FIXME: attribute CanvasTextRendering textRendering; // (default: "auto")
-    // FIXME: attribute DOMString wordSpacing; // (default: "0px")
+    [FIXME] attribute CanvasDirection direction; // (default: "inherit")
+    [FIXME] attribute DOMString letterSpacing; // (default: "0px")
+    [FIXME] attribute CanvasFontKerning fontKerning; // (default: "auto")
+    [FIXME] attribute CanvasFontStretch fontStretch; // (default: "normal")
+    [FIXME] attribute CanvasFontVariantCaps fontVariantCaps; // (default: "normal")
+    [FIXME] attribute CanvasTextRendering textRendering; // (default: "auto")
+    [FIXME] attribute DOMString wordSpacing; // (default: "0px")
 };

+ 2 - 2
Userland/Libraries/LibWeb/HTML/DataTransfer.idl

@@ -3,8 +3,8 @@
 interface DataTransfer {
     constructor();
 
-    // FIXME: attribute DOMString dropEffect;
-    // FIXME: attribute DOMString effectAllowed;
+    [FIXME] attribute DOMString dropEffect;
+    [FIXME] attribute DOMString effectAllowed;
 
     [FIXME, SameObject] readonly attribute DataTransferItemList items;
 

+ 1 - 1
Userland/Libraries/LibWeb/HTML/HTMLAreaElement.idl

@@ -15,7 +15,7 @@ interface HTMLAreaElement : HTMLElement {
     [CEReactions, Reflect] attribute USVString ping;
     [CEReactions, Reflect] attribute DOMString rel;
     [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
-    // FIXME: [CEReactions] attribute DOMString referrerPolicy;
+    [FIXME, CEReactions] attribute DOMString referrerPolicy;
 
     // Obsolete
     [Reflect=nohref] attribute boolean noHref;

+ 8 - 8
Userland/Libraries/LibWeb/HTML/HTMLElement.idl

@@ -12,7 +12,7 @@ interface HTMLElement : Element {
     // metadata attributes
     [Reflect, CEReactions] attribute DOMString title;
     [Reflect, CEReactions] attribute DOMString lang;
-    // FIXME: [CEReactions] attribute boolean translate;
+    [FIXME, CEReactions] attribute boolean translate;
     [CEReactions] attribute DOMString dir;
 
     // user interaction
@@ -21,9 +21,9 @@ interface HTMLElement : Element {
     undefined click();
     [Reflect=accesskey, CEReactions] attribute DOMString accessKey;
     readonly attribute DOMString accessKeyLabel;
-    // FIXME: [CEReactions] attribute boolean draggable;
-    // FIXME: [CEReactions] attribute boolean spellcheck;
-    // FIXME: [CEReactions] attribute DOMString autocapitalize;
+    [FIXME, CEReactions] attribute boolean draggable;
+    [FIXME, CEReactions] attribute boolean spellcheck;
+    [FIXME, CEReactions] attribute DOMString autocapitalize;
 
     [LegacyNullToEmptyString, CEReactions] attribute DOMString innerText;
     [LegacyNullToEmptyString, CEReactions] attribute DOMString outerText;
@@ -34,7 +34,7 @@ interface HTMLElement : Element {
     [FIXME] undefined showPopover();
     [FIXME] undefined hidePopover();
     [FIXME] boolean togglePopover(optional boolean force);
-    // FIXME: [CEReactions] attribute DOMString? popover;
+    [FIXME, CEReactions] attribute DOMString? popover;
 
     // https://drafts.csswg.org/cssom-view/#extensions-to-the-htmlelement-interface
     readonly attribute Element? offsetParent;
@@ -52,15 +52,15 @@ HTMLElement includes HTMLOrSVGElement;
 // https://html.spec.whatwg.org/#elementcontenteditable
 interface mixin ElementContentEditable {
     [CEReactions] attribute DOMString contentEditable;
-    // FIXME: [CEReactions] attribute DOMString enterKeyHint;
+    [FIXME, CEReactions] attribute DOMString enterKeyHint;
     readonly attribute boolean isContentEditable;
-    // FIXME: [CEReactions] attribute DOMString inputMode;
+    [FIXME, CEReactions] attribute DOMString inputMode;
 };
 
 // https://html.spec.whatwg.org/#htmlorsvgelement
 interface mixin HTMLOrSVGElement {
     [SameObject] readonly attribute DOMStringMap dataset;
-    // FIXME: attribute DOMString nonce; // intentionally no [CEReactions]
+    [FIXME] attribute DOMString nonce; // intentionally no [CEReactions]
 
     [CEReactions, Reflect] attribute boolean autofocus;
     [CEReactions] attribute long tabIndex;

+ 3 - 3
Userland/Libraries/LibWeb/HTML/HTMLFormElement.idl

@@ -9,9 +9,9 @@ interface HTMLFormElement : HTMLElement {
 
     [CEReactions, Reflect=accept-charset] attribute DOMString acceptCharset;
     [CEReactions] attribute USVString action;
-    // FIXME: [CEReactions] attribute DOMString autocomplete;
-    // FIXME: [CEReactions] attribute DOMString enctype;
-    // FIXME: [CEReactions] attribute DOMString encoding;
+    [FIXME, CEReactions] attribute DOMString autocomplete;
+    [FIXME, CEReactions] attribute DOMString enctype;
+    [FIXME, CEReactions] attribute DOMString encoding;
     [CEReactions] attribute DOMString method;
     [CEReactions, Reflect] attribute DOMString name;
     [CEReactions, Reflect=novalidate] attribute boolean noValidate;

+ 3 - 3
Userland/Libraries/LibWeb/HTML/HTMLFrameElement.idl

@@ -11,11 +11,11 @@ interface HTMLFrameElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString src;
     [CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
     [CEReactions, Reflect=longdesc] attribute DOMString longDesc;
-    // FIXME: [CEReactions] attribute boolean noResize;
+    [FIXME, CEReactions] attribute boolean noResize;
     [FIXME] readonly attribute Document? contentDocument;
     [FIXME] readonly attribute WindowProxy? contentWindow;
 
-    // FIXME: [CEReactions] attribute [LegacyNullToEmptyString] DOMString marginHeight;
-    // FIXME: [CEReactions] attribute [LegacyNullToEmptyString] DOMString marginWidth;
+    [FIXME, CEReactions, LegacyNullToEmptyString] attribute DOMString marginHeight;
+    [FIXME, CEReactions, LegacyNullToEmptyString] attribute DOMString marginWidth;
 
 };

+ 4 - 4
Userland/Libraries/LibWeb/HTML/HTMLIFrameElement.idl

@@ -10,13 +10,13 @@ interface HTMLIFrameElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString src;
     [CEReactions, Reflect] attribute DOMString srcdoc;
     [CEReactions, Reflect] attribute DOMString name;
-    // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
+    [FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList sandbox;
     [CEReactions, Reflect] attribute DOMString allow;
     [CEReactions, Reflect=allowfullscreen] attribute boolean allowFullscreen;
     [CEReactions, Reflect] attribute DOMString width;
     [CEReactions, Reflect] attribute DOMString height;
-    // FIXME: [CEReactions] attribute DOMString referrerPolicy;
-    // FIXME: [CEReactions] attribute DOMString loading;
+    [FIXME, CEReactions] attribute DOMString referrerPolicy;
+    [FIXME, CEReactions] attribute DOMString loading;
     readonly attribute Document? contentDocument;
     readonly attribute WindowProxy? contentWindow;
     Document? getSVGDocument();
@@ -25,7 +25,7 @@ interface HTMLIFrameElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString align;
     [CEReactions, Reflect] attribute DOMString scrolling;
     [CEReactions, Reflect=frameborder] attribute DOMString frameBorder;
-    // FIXME: [CEReactions] attribute USVString longDesc;
+    [FIXME, CEReactions] attribute USVString longDesc;
 
     [CEReactions, LegacyNullToEmptyString, Reflect=marginheight] attribute DOMString marginHeight;
     [CEReactions, LegacyNullToEmptyString, Reflect=marginwidth] attribute DOMString marginWidth;

+ 9 - 9
Userland/Libraries/LibWeb/HTML/HTMLImageElement.idl

@@ -10,7 +10,7 @@ interface HTMLImageElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString src;
     [CEReactions, Reflect] attribute DOMString srcset;
     [CEReactions, Reflect] attribute DOMString sizes;
-    // FIXME: [CEReactions] attribute DOMString? crossOrigin;
+    [FIXME, CEReactions] attribute DOMString? crossOrigin;
     [CEReactions, Reflect=usemap] attribute DOMString useMap;
     [CEReactions, Reflect=ismap] attribute boolean isMap;
     [CEReactions] attribute unsigned long width;
@@ -19,20 +19,20 @@ interface HTMLImageElement : HTMLElement {
     readonly attribute unsigned long naturalHeight;
     readonly attribute boolean complete;
     [FIXME] readonly attribute USVString currentSrc;
-    // FIXME: [CEReactions] attribute DOMString referrerPolicy;
-    // FIXME: [CEReactions] attribute DOMString decoding;
-    // FIXME: [CEReactions] attribute DOMString loading;
-    // FIXME: [CEReactions] attribute DOMString fetchPriority;
+    [FIXME, CEReactions] attribute DOMString referrerPolicy;
+    [FIXME, CEReactions] attribute DOMString decoding;
+    [FIXME, CEReactions] attribute DOMString loading;
+    [FIXME, CEReactions] attribute DOMString fetchPriority;
 
     [FIXME] Promise<undefined> decode();
 
     // Obsolete
     [CEReactions, Reflect] attribute DOMString name;
-    // FIXME: [CEReactions] attribute USVString lowsrc;
+    [FIXME, CEReactions] attribute USVString lowsrc;
     [CEReactions, Reflect] attribute DOMString align;
-    // FIXME: [CEReactions] attribute unsigned long hspace;
-    // FIXME: [CEReactions] attribute unsigned long vspace;
-    // FIXME: [CEReactions] attribute USVString longDesc;
+    [FIXME, CEReactions] attribute unsigned long hspace;
+    [FIXME, CEReactions] attribute unsigned long vspace;
+    [FIXME, CEReactions] attribute USVString longDesc;
 
     [CEReactions, LegacyNullToEmptyString, Reflect] attribute DOMString border;
 

+ 10 - 10
Userland/Libraries/LibWeb/HTML/HTMLInputElement.idl

@@ -9,19 +9,19 @@ interface HTMLInputElement : HTMLElement {
 
     [CEReactions, Reflect] attribute DOMString accept;
     [CEReactions, Reflect] attribute DOMString alt;
-    // FIXME: [CEReactions] attribute DOMString autocomplete;
+    [FIXME, CEReactions] attribute DOMString autocomplete;
     [CEReactions, Reflect=checked] attribute boolean defaultChecked;
     [ImplementedAs=checked_binding] attribute boolean checked;
     [CEReactions, Reflect=dirname] attribute DOMString dirName;
     [CEReactions, Reflect] attribute boolean disabled;
     readonly attribute HTMLFormElement? form;
     attribute FileList? files;
-    // FIXME: [CEReactions] attribute USVString formAction;
-    // FIXME: [CEReactions] attribute DOMString formEnctype;
-    // FIXME: [CEReactions] attribute DOMString formMethod;
+    [FIXME, CEReactions] attribute USVString formAction;
+    [FIXME, CEReactions] attribute DOMString formEnctype;
+    [FIXME, CEReactions] attribute DOMString formMethod;
     [CEReactions, Reflect=formnovalidate] attribute boolean formNoValidate;
     [CEReactions, Reflect=formtarget] attribute DOMString formTarget;
-    // FIXME: [CEReactions] attribute unsigned long height;
+    [FIXME, CEReactions] attribute unsigned long height;
     attribute boolean indeterminate;
     [FIXME] readonly attribute HTMLDataListElement? list;
     [CEReactions, Reflect] attribute DOMString max;
@@ -30,7 +30,7 @@ interface HTMLInputElement : HTMLElement {
     [CEReactions] attribute long minLength;
     [CEReactions, Reflect] attribute boolean multiple;
     [CEReactions, Reflect] attribute DOMString name;
-    // FIXME: [CEReactions] attribute DOMString pattern;
+    [FIXME, CEReactions] attribute DOMString pattern;
     [CEReactions, Reflect] attribute DOMString placeholder;
     [CEReactions, Reflect=readonly] attribute boolean readOnly;
     [CEReactions, Reflect] attribute boolean required;
@@ -42,7 +42,7 @@ interface HTMLInputElement : HTMLElement {
     [CEReactions, LegacyNullToEmptyString] attribute DOMString value;
     attribute object? valueAsDate;
     attribute unrestricted double valueAsNumber;
-    // FIXME: [CEReactions] attribute unsigned long width;
+    [FIXME, CEReactions] attribute unsigned long width;
 
     undefined stepUp(optional long n = 1);
     undefined stepDown(optional long n = 1);
@@ -57,9 +57,9 @@ interface HTMLInputElement : HTMLElement {
     readonly attribute NodeList? labels;
 
     undefined select();
-    // FIXME: attribute unsigned long? selectionStart;
-    // FIXME: attribute unsigned long? selectionEnd;
-    // FIXME: attribute DOMString? selectionDirection;
+    [FIXME] attribute unsigned long? selectionStart;
+    [FIXME] attribute unsigned long? selectionEnd;
+    [FIXME] attribute DOMString? selectionDirection;
     [FIXME] undefined setRangeText(DOMString replacement);
     [FIXME] undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
     undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);

+ 6 - 6
Userland/Libraries/LibWeb/HTML/HTMLLinkElement.idl

@@ -8,21 +8,21 @@ interface HTMLLinkElement : HTMLElement {
     [HTMLConstructor] constructor();
 
     [CEReactions, Reflect] attribute DOMString href;
-    // FIXME: [CEReactions] attribute DOMString? crossOrigin;
+    [FIXME, CEReactions] attribute DOMString? crossOrigin;
     [CEReactions, Reflect] attribute DOMString rel;
-    // FIXME: [CEReactions] attribute DOMString as;
+    [FIXME, CEReactions] attribute DOMString as;
     [SameObject, PutForwards=value] readonly attribute DOMTokenList relList;
     [CEReactions, Reflect] attribute DOMString media;
     [CEReactions, Reflect] attribute DOMString integrity;
     [CEReactions, Reflect] attribute DOMString hreflang;
     [CEReactions, Reflect] attribute DOMString type;
-    // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList sizes;
+    [FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList sizes;
     [CEReactions, Reflect=imagesrcset] attribute DOMString imageSrcset;
     [CEReactions, Reflect=imagesizes] attribute DOMString imageSizes;
-    // FIXME: [CEReactions] attribute DOMString referrerPolicy;
-    // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
+    [FIXME, CEReactions] attribute DOMString referrerPolicy;
+    [FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
     [CEReactions, Reflect] attribute boolean disabled;
-    // FIXME: [CEReactions] attribute DOMString fetchPriority;
+    [FIXME, CEReactions] attribute DOMString fetchPriority;
 
     // Obsolete
     [CEReactions, Reflect] attribute DOMString charset;

+ 6 - 6
Userland/Libraries/LibWeb/HTML/HTMLMarqueeElement.idl

@@ -10,12 +10,12 @@ interface HTMLMarqueeElement : HTMLElement {
     [CEReactions, Reflect=bgcolor] attribute DOMString bgColor;
     [CEReactions, Reflect] attribute DOMString direction;
     [CEReactions, Reflect] attribute DOMString height;
-    // FIXME: [CEReactions] attribute unsigned long hspace;
-    // FIXME: [CEReactions] attribute long loop;
-    // FIXME: [CEReactions] attribute unsigned long scrollAmount;
-    // FIXME: [CEReactions] attribute unsigned long scrollDelay;
-    // FIXME: [CEReactions] attribute boolean trueSpeed;
-    // FIXME: [CEReactions] attribute unsigned long vspace;
+    [FIXME, CEReactions] attribute unsigned long hspace;
+    [FIXME, CEReactions] attribute long loop;
+    [FIXME, CEReactions] attribute unsigned long scrollAmount;
+    [FIXME, CEReactions] attribute unsigned long scrollDelay;
+    [FIXME, CEReactions] attribute boolean trueSpeed;
+    [FIXME, CEReactions] attribute unsigned long vspace;
     [CEReactions, Reflect] attribute DOMString width;
 
     [FIXME] undefined start();

+ 5 - 5
Userland/Libraries/LibWeb/HTML/HTMLMediaElement.idl

@@ -20,7 +20,7 @@ interface HTMLMediaElement : HTMLElement {
 
     // network state
     [Reflect, CEReactions] attribute DOMString src;
-    // FIXME: attribute MediaProvider? srcObject;
+    [FIXME] attribute MediaProvider? srcObject;
     readonly attribute USVString currentSrc;
     [Reflect=crossorigin, CEReactions, Enumerated=CORSSettingsAttribute] attribute DOMString? crossOrigin;
     const unsigned short NETWORK_EMPTY = 0;
@@ -28,7 +28,7 @@ interface HTMLMediaElement : HTMLElement {
     const unsigned short NETWORK_LOADING = 2;
     const unsigned short NETWORK_NO_SOURCE = 3;
     readonly attribute unsigned short networkState;
-    // FIXME: [CEReactions] attribute DOMString preload;
+    [FIXME, CEReactions] attribute DOMString preload;
     readonly attribute TimeRanges buffered;
     undefined load();
     CanPlayTypeResult canPlayType(DOMString type);
@@ -48,9 +48,9 @@ interface HTMLMediaElement : HTMLElement {
     readonly attribute unrestricted double duration;
     // FIXME: object getStartDate();
     readonly attribute boolean paused;
-    // FIXME: attribute double defaultPlaybackRate;
-    // FIXME: attribute double playbackRate;
-    // FIXME: attribute boolean preservesPitch;
+    [FIXME] attribute double defaultPlaybackRate;
+    [FIXME] attribute double playbackRate;
+    [FIXME] attribute boolean preservesPitch;
     [FIXME] readonly attribute TimeRanges played;
     [FIXME] readonly attribute TimeRanges seekable;
     readonly attribute boolean ended;

+ 3 - 3
Userland/Libraries/LibWeb/HTML/HTMLObjectElement.idl

@@ -29,10 +29,10 @@ interface HTMLObjectElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString archive;
     [CEReactions, Reflect] attribute DOMString code;
     [CEReactions, Reflect] attribute boolean declare;
-    // FIXME: [CEReactions] attribute unsigned long hspace;
+    [FIXME, CEReactions] attribute unsigned long hspace;
     [CEReactions, Reflect] attribute DOMString standby;
-    // FIXME: [CEReactions] attribute unsigned long vspace;
-    // FIXME: [CEReactions] attribute DOMString codeBase;
+    [FIXME, CEReactions] attribute unsigned long vspace;
+    [FIXME, CEReactions] attribute DOMString codeBase;
     [CEReactions, Reflect=codetype] attribute DOMString codeType;
     [CEReactions, Reflect=usemap] attribute DOMString useMap;
 

+ 2 - 2
Userland/Libraries/LibWeb/HTML/HTMLScriptElement.idl

@@ -16,8 +16,8 @@ interface HTMLScriptElement : HTMLElement {
     [CEReactions] attribute DOMString text;
     [CEReactions, Reflect] attribute DOMString integrity;
     [CEReactions, Reflect=referrerpolicy] attribute DOMString referrerPolicy;
-    // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
-    // FIXME: [CEReactions] attribute DOMString fetchPriority;
+    [FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
+    [FIXME, CEReactions] attribute DOMString fetchPriority;
 
     static boolean supports(DOMString type);
 

+ 2 - 2
Userland/Libraries/LibWeb/HTML/HTMLSourceElement.idl

@@ -11,7 +11,7 @@ interface HTMLSourceElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString srcset;
     [CEReactions, Reflect] attribute DOMString sizes;
     [CEReactions, Reflect] attribute DOMString media;
-    // FIXME: [CEReactions, Reflect] attribute unsigned long width;
-    // FIXME: [CEReactions, Reflect] attribute unsigned long height;
+    [FIXME, CEReactions, Reflect] attribute unsigned long width;
+    [FIXME, CEReactions, Reflect] attribute unsigned long height;
 
 };

+ 2 - 2
Userland/Libraries/LibWeb/HTML/HTMLStyleElement.idl

@@ -7,9 +7,9 @@
 interface HTMLStyleElement : HTMLElement {
     [HTMLConstructor] constructor();
 
-    // FIXME: attribute boolean disabled;
+    [FIXME] attribute boolean disabled;
     [Reflect, CEReactions] attribute DOMString media;
-    // FIXME: [SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
+    [FIXME, SameObject, PutForwards=value] readonly attribute DOMTokenList blocking;
 
     // Obsolete
     [Reflect] attribute DOMString type;

+ 1 - 1
Userland/Libraries/LibWeb/HTML/HTMLTableCellElement.idl

@@ -11,7 +11,7 @@ interface HTMLTableCellElement : HTMLElement {
     [CEReactions, Reflect] attribute DOMString headers;
     [FIXME] readonly attribute long cellIndex;
 
-    // FIXME: [CEReactions] attribute DOMString scope; // only conforming for th elements
+    [FIXME, CEReactions] attribute DOMString scope; // only conforming for th elements
     [CEReactions, Reflect] attribute DOMString abbr;  // only conforming for th elements
 
     // Obsolete

+ 1 - 1
Userland/Libraries/LibWeb/HTML/HTMLTextAreaElement.idl

@@ -37,7 +37,7 @@ interface HTMLTextAreaElement : HTMLElement {
     // FIXME: undefined select();
     attribute unsigned long selectionStart;
     attribute unsigned long selectionEnd;
-    // FIXME: attribute DOMString selectionDirection;
+    [FIXME] attribute DOMString selectionDirection;
     [FIXME] undefined setRangeText(DOMString replacement);
     [FIXME] undefined setRangeText(DOMString replacement, unsigned long start, unsigned long end, optional SelectionMode selectionMode = "preserve");
     [FIXME] undefined setSelectionRange(unsigned long start, unsigned long end, optional DOMString direction);

+ 1 - 1
Userland/Libraries/LibWeb/HTML/HTMLTrackElement.idl

@@ -6,7 +6,7 @@ interface HTMLTrackElement : HTMLElement {
 
     [HTMLConstructor] constructor();
 
-    // FIXME: [CEReactions] attribute DOMString kind;
+    [FIXME, CEReactions] attribute DOMString kind;
     [CEReactions, Reflect] attribute DOMString src;
     [CEReactions, Reflect] attribute DOMString srclang;
     [CEReactions, Reflect] attribute DOMString label;

+ 2 - 2
Userland/Libraries/LibWeb/HTML/HTMLVideoElement.idl

@@ -6,8 +6,8 @@ interface HTMLVideoElement : HTMLMediaElement {
 
     [HTMLConstructor] constructor();
 
-    // FIXME: [CEReactions] attribute unsigned long width;
-    // FIXME: [CEReactions] attribute unsigned long height;
+    [FIXME, CEReactions] attribute unsigned long width;
+    [FIXME, CEReactions] attribute unsigned long height;
     readonly attribute unsigned long videoWidth;
     readonly attribute unsigned long videoHeight;
     [CEReactions, Reflect] attribute USVString poster;

+ 2 - 2
Userland/Libraries/LibWeb/IndexedDB/IDBOpenDBRequest.idl

@@ -4,6 +4,6 @@
 [Exposed=(Window,Worker)]
 interface IDBOpenDBRequest : IDBRequest {
     // Event handlers:
-    // FIXME: attribute EventHandler onblocked;
-    // FIXME: attribute EventHandler onupgradeneeded;
+    [FIXME] attribute EventHandler onblocked;
+    [FIXME] attribute EventHandler onupgradeneeded;
 };

+ 2 - 2
Userland/Libraries/LibWeb/IndexedDB/IDBRequest.idl

@@ -10,8 +10,8 @@ interface IDBRequest : EventTarget {
     [FIXME] readonly attribute IDBRequestReadyState readyState;
 
     // Event handlers:
-    // FIXME: attribute EventHandler onsuccess;
-    // FIXME: attribute EventHandler onerror;
+    [FIXME] attribute EventHandler onsuccess;
+    [FIXME] attribute EventHandler onerror;
 };
 
 enum IDBRequestReadyState {

+ 3 - 3
Userland/Libraries/LibWeb/WebAudio/AudioNode.idl

@@ -40,7 +40,7 @@ interface AudioNode : EventTarget {
     readonly attribute BaseAudioContext context;
     [FIXME] readonly attribute unsigned long numberOfInputs;
     [FIXME] readonly attribute unsigned long numberOfOutputs;
-    // FIXME: attribute unsigned long channelCount;
-    // FIXME: attribute ChannelCountMode channelCountMode;
-    // FIXME: attribute ChannelInterpretation channelInterpretation;
+    [FIXME] attribute unsigned long channelCount;
+    [FIXME] attribute ChannelCountMode channelCountMode;
+    [FIXME] attribute ChannelInterpretation channelInterpretation;
 };

+ 1 - 1
Userland/Libraries/LibWeb/WebAudio/BaseAudioContext.idl

@@ -13,7 +13,7 @@ enum AudioContextState { "suspended", "running", "closed" };
 // https://webaudio.github.io/web-audio-api/#BaseAudioContext
 [Exposed=Window]
 interface BaseAudioContext : EventTarget {
-    // FIXME: readonly attribute AudioDestinationNode destination;
+    [FIXME] readonly attribute AudioDestinationNode destination;
     readonly attribute float sampleRate;
     readonly attribute double currentTime;
     [FIXME] readonly attribute AudioListener listener;