diff options
author | Timothy Flynn <trflynn89@pm.me> | 2022-03-21 14:20:48 -0400 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2022-03-21 21:04:39 +0100 |
commit | ebf3829f1cfc7f19f53bae46a42fcf130952250c (patch) | |
tree | b95e8ba3298e90c7960a0f5a8d1b0f6b4a233dab /Userland/Libraries/LibWeb/Forward.h | |
parent | 3ebc5cc58e82aa9fe31cf371dab80112454e1ac0 (diff) | |
download | serenity-ebf3829f1cfc7f19f53bae46a42fcf130952250c.zip |
LibWeb: Begin implementing the SVGLength type
There are a few unimplemented features for this type:
1. The value setter should throw a DOMException if it is invoked on an
SVGLength that was declared readonly in another IDL file.
2. SVG::AttributeParser does not parse unit types when it parses lengths
so all SVGLength will have an "unknown" unit for now.
3. Due to (2), methods which convert between units are unimplemented.
Diffstat (limited to 'Userland/Libraries/LibWeb/Forward.h')
-rw-r--r-- | Userland/Libraries/LibWeb/Forward.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Userland/Libraries/LibWeb/Forward.h b/Userland/Libraries/LibWeb/Forward.h index 42de3509cc..0749d21b6c 100644 --- a/Userland/Libraries/LibWeb/Forward.h +++ b/Userland/Libraries/LibWeb/Forward.h @@ -291,6 +291,7 @@ class SVGElement; class SVGEllipseElement; class SVGGeometryElement; class SVGGraphicsElement; +class SVGLength; class SVGLineElement; class SVGPathElement; class SVGPolygonElement; @@ -514,6 +515,7 @@ class SVGElementWrapper; class SVGEllipseElementWrapper; class SVGGeometryElementWrapper; class SVGGraphicsElementWrapper; +class SVGLengthWrapper; class SVGLineElementWrapper; class SVGPathElementWrapper; class SVGPolygonElementWrapper; |