mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-08-06 16:19:23 +00:00
LibWeb/SVG: Stub SVGTransform.angle
This commit is contained in:
parent
4406d06d26
commit
c102630a59
Notes:
sideshowbarker
2024-07-17 08:13:43 +09:00
Author: https://github.com/jamierocks
Commit: c102630a59
Pull-request: https://github.com/SerenityOS/serenity/pull/24231
Reviewed-by: https://github.com/MacDue ✅
3 changed files with 9 additions and 1 deletions
|
@ -36,4 +36,11 @@ SVGTransform::Type SVGTransform::type()
|
|||
return SVGTransform::Type::Unknown;
|
||||
}
|
||||
|
||||
// https://svgwg.org/svg2-draft/single-page.html#coords-__svg__SVGTransform__angle
|
||||
float SVGTransform::angle()
|
||||
{
|
||||
dbgln("FIXME: Implement SVGTransform::angle()");
|
||||
return 0;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
@ -32,6 +32,7 @@ public:
|
|||
};
|
||||
|
||||
Type type();
|
||||
float angle();
|
||||
|
||||
private:
|
||||
SVGTransform(JS::Realm& realm);
|
||||
|
|
|
@ -12,7 +12,7 @@ interface SVGTransform {
|
|||
|
||||
readonly attribute unsigned short type;
|
||||
// FIXME: [SameObject] readonly attribute DOMMatrix matrix;
|
||||
// FIXME: readonly attribute float angle;
|
||||
readonly attribute float angle;
|
||||
|
||||
// FIXME: undefined setMatrix(optional DOMMatrix2DInit matrix = {});
|
||||
// FIXME: undefined setTranslate(float tx, float ty);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue