mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-11 03:56:16 +00:00
LibWeb: Use 'FIXME' extended attribute where possible
This improves the debuggability of many live web pages :^)
This commit is contained in:
parent
7c69b4737b
commit
4fe0cbcf85
Notes:
sideshowbarker
2024-07-17 18:06:52 +09:00
Author: https://github.com/shannonbooth
Commit: 4fe0cbcf85
Pull-request: https://github.com/SerenityOS/serenity/pull/24377
Reviewed-by: https://github.com/tcl3
55 changed files with 184 additions and 187 deletions
|
@ -4,7 +4,7 @@
|
|||
[Exposed=Window]
|
||||
interface SVGClipPathElement : SVGElement {
|
||||
|
||||
// FIXME: readonly attribute SVGAnimatedEnumeration clipPathUnits;
|
||||
// FIXME: readonly attribute SVGAnimatedTransformList transform;
|
||||
[FIXME] readonly attribute SVGAnimatedEnumeration clipPathUnits;
|
||||
[FIXME] readonly attribute SVGAnimatedTransformList transform;
|
||||
|
||||
};
|
||||
|
|
|
@ -3,5 +3,5 @@
|
|||
// https://svgwg.org/svg2-draft/types.html#InterfaceSVGFitToViewBox
|
||||
interface mixin SVGFitToViewBox {
|
||||
[SameObject, ImplementedAs=view_box_for_bindings] readonly attribute SVGAnimatedRect viewBox;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedPreserveAspectRatio preserveAspectRatio;
|
||||
};
|
||||
|
|
|
@ -10,9 +10,9 @@ interface SVGGradientElement : SVGElement {
|
|||
const unsigned short SVG_SPREADMETHOD_REFLECT = 2;
|
||||
const unsigned short SVG_SPREADMETHOD_REPEAT = 3;
|
||||
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedTransformList gradientTransform;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration gradientUnits;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedTransformList gradientTransform;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration spreadMethod;
|
||||
|
||||
};
|
||||
|
||||
|
|
|
@ -14,6 +14,6 @@ interface SVGGraphicsElement : SVGElement {
|
|||
[SameObject] readonly attribute SVGAnimatedTransformList transform;
|
||||
|
||||
DOMRect getBBox(optional SVGBoundingBoxOptions options = {});
|
||||
// FIXME: DOMMatrix? getCTM();
|
||||
// FIXME: DOMMatrix? getScreenCTM();
|
||||
[FIXME] DOMMatrix? getCTM();
|
||||
[FIXME] DOMMatrix? getScreenCTM();
|
||||
};
|
||||
|
|
|
@ -3,12 +3,10 @@
|
|||
// https://drafts.fxtf.org/css-masking/#InterfaceSVGMaskElement
|
||||
[Exposed=Window]
|
||||
interface SVGMaskElement : SVGElement {
|
||||
|
||||
// FIXME: readonly attribute SVGAnimatedEnumeration maskUnits;
|
||||
// FIXME: readonly attribute SVGAnimatedEnumeration maskContentUnits;
|
||||
// FIXME: readonly attribute SVGAnimatedLength x;
|
||||
// FIXME: readonly attribute SVGAnimatedLength y;
|
||||
// FIXME: readonly attribute SVGAnimatedLength width;
|
||||
// FIXME: readonly attribute SVGAnimatedLength height;
|
||||
|
||||
[FIXME] readonly attribute SVGAnimatedEnumeration maskUnits;
|
||||
[FIXME] readonly attribute SVGAnimatedEnumeration maskContentUnits;
|
||||
[FIXME] readonly attribute SVGAnimatedLength x;
|
||||
[FIXME] readonly attribute SVGAnimatedLength y;
|
||||
[FIXME] readonly attribute SVGAnimatedLength width;
|
||||
[FIXME] readonly attribute SVGAnimatedLength height;
|
||||
};
|
||||
|
|
|
@ -22,12 +22,12 @@ interface SVGSVGElement : SVGGraphicsElement {
|
|||
|
||||
// FIMXE: SVGNumber createSVGNumber();
|
||||
SVGLength createSVGLength();
|
||||
// FIXME: SVGAngle createSVGAngle();
|
||||
[FIXME] SVGAngle createSVGAngle();
|
||||
DOMPoint createSVGPoint();
|
||||
DOMMatrix createSVGMatrix();
|
||||
DOMRect createSVGRect();
|
||||
SVGTransform createSVGTransform();
|
||||
// FIXME: SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
[FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
|
||||
Element getElementById(DOMString elementId);
|
||||
|
||||
|
|
|
@ -9,17 +9,17 @@ interface SVGTextContentElement : SVGGraphicsElement {
|
|||
const unsigned short LENGTHADJUST_SPACING = 1;
|
||||
const unsigned short LENGTHADJUST_SPACINGANDGLYPHS = 2;
|
||||
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLength textLength;
|
||||
// FIXME:[SameObject] readonly attribute SVGAnimatedEnumeration lengthAdjust;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLength textLength;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration lengthAdjust;
|
||||
|
||||
long getNumberOfChars();
|
||||
// FIXME: float getComputedTextLength();
|
||||
// FIXME: float getSubStringLength(unsigned long charnum, unsigned long nchars);
|
||||
[FIXME] float getComputedTextLength();
|
||||
[FIXME] float getSubStringLength(unsigned long charnum, unsigned long nchars);
|
||||
DOMPoint getStartPositionOfChar(unsigned long charnum);
|
||||
// FIXME: DOMPoint getEndPositionOfChar(unsigned long charnum);
|
||||
// FIXME: DOMRect getExtentOfChar(unsigned long charnum);
|
||||
// FIXME: float getRotationOfChar(unsigned long charnum);
|
||||
// FIXME: long getCharNumAtPosition(optional DOMPointInit point = {});
|
||||
// FIXME: undefined selectSubString(unsigned long charnum, unsigned long nchars);
|
||||
[FIXME] DOMPoint getEndPositionOfChar(unsigned long charnum);
|
||||
[FIXME] DOMRect getExtentOfChar(unsigned long charnum);
|
||||
[FIXME] float getRotationOfChar(unsigned long charnum);
|
||||
[FIXME] long getCharNumAtPosition(optional DOMPointInit point = {});
|
||||
[FIXME] undefined selectSubString(unsigned long charnum, unsigned long nchars);
|
||||
|
||||
};
|
||||
|
|
|
@ -14,9 +14,9 @@ interface SVGTextPathElement : SVGTextContentElement {
|
|||
const unsigned short TEXTPATH_SPACINGTYPE_AUTO = 1;
|
||||
const unsigned short TEXTPATH_SPACINGTYPE_EXACT = 2;
|
||||
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLength startOffset;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration method;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLength startOffset;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration method;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedEnumeration spacing;
|
||||
};
|
||||
|
||||
SVGTextPathElement includes SVGURIReference;
|
||||
|
|
|
@ -3,9 +3,9 @@
|
|||
// https://svgwg.org/svg2-draft/text.html#InterfaceSVGTextPositioningElement
|
||||
[Exposed=Window]
|
||||
interface SVGTextPositioningElement : SVGTextContentElement {
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLengthList x;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLengthList y;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLengthList dx;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedLengthList dy;
|
||||
// FIXME: [SameObject] readonly attribute SVGAnimatedNumberList rotate;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLengthList x;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLengthList y;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLengthList dx;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedLengthList dy;
|
||||
[FIXME, SameObject] readonly attribute SVGAnimatedNumberList rotate;
|
||||
};
|
||||
|
|
|
@ -11,10 +11,10 @@ interface SVGTransform {
|
|||
const unsigned short SVG_TRANSFORM_SKEWY = 6;
|
||||
|
||||
readonly attribute unsigned short type;
|
||||
// FIXME: [SameObject] readonly attribute DOMMatrix matrix;
|
||||
[FIXME, SameObject] readonly attribute DOMMatrix matrix;
|
||||
readonly attribute float angle;
|
||||
|
||||
// FIXME: undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
[FIXME] undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
undefined setTranslate(float tx, float ty);
|
||||
undefined setScale(float sx, float sy);
|
||||
undefined setRotate(float angle, float cx, float cy);
|
||||
|
|
|
@ -3,19 +3,19 @@
|
|||
// https://svgwg.org/svg2-draft/single-page.html#coords-InterfaceSVGTransformList
|
||||
[Exposed=Window]
|
||||
interface SVGTransformList {
|
||||
// FIXME: readonly attribute unsigned long length;
|
||||
// FIXME: readonly attribute unsigned long numberOfItems;
|
||||
[FIXME] readonly attribute unsigned long length;
|
||||
[FIXME] readonly attribute unsigned long numberOfItems;
|
||||
|
||||
// FIXME: undefined clear();
|
||||
[FIXME] undefined clear();
|
||||
// FIXME: SVGTransform initialize(SVGTransform newItem);
|
||||
getter SVGTransform getItem(unsigned long index);
|
||||
// FIXME: SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index);
|
||||
// FIXME: SVGTransform replaceItem(SVGTransform newItem, unsigned long index);
|
||||
// FIXME: SVGTransform removeItem(unsigned long index);
|
||||
[FIXME] SVGTransform insertItemBefore(SVGTransform newItem, unsigned long index);
|
||||
[FIXME] SVGTransform replaceItem(SVGTransform newItem, unsigned long index);
|
||||
[FIXME] SVGTransform removeItem(unsigned long index);
|
||||
SVGTransform appendItem(SVGTransform newItem);
|
||||
// FIXME: setter undefined (unsigned long index, SVGTransform newItem);
|
||||
|
||||
// Additional methods not common to other list interfaces.
|
||||
// FIXME: SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
// FIXME: SVGTransform? consolidate();
|
||||
[FIXME] SVGTransform createSVGTransformFromMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
[FIXME] SVGTransform? consolidate();
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue