mirror of
https://github.com/RGBCube/serenity
synced 2025-06-01 09:58:14 +00:00
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.
This commit is contained in:
parent
3ebc5cc58e
commit
ebf3829f1c
5 changed files with 98 additions and 0 deletions
|
@ -317,6 +317,7 @@ set(SOURCES
|
|||
SVG/SVGPathElement.cpp
|
||||
SVG/SVGCircleElement.cpp
|
||||
SVG/SVGEllipseElement.cpp
|
||||
SVG/SVGLength.cpp
|
||||
SVG/SVGLineElement.cpp
|
||||
SVG/SVGPolygonElement.cpp
|
||||
SVG/SVGPolylineElement.cpp
|
||||
|
@ -575,6 +576,7 @@ libweb_js_wrapper(SVG/SVGGeometryElement)
|
|||
libweb_js_wrapper(SVG/SVGGraphicsElement)
|
||||
libweb_js_wrapper(SVG/SVGCircleElement)
|
||||
libweb_js_wrapper(SVG/SVGEllipseElement)
|
||||
libweb_js_wrapper(SVG/SVGLength)
|
||||
libweb_js_wrapper(SVG/SVGLineElement)
|
||||
libweb_js_wrapper(SVG/SVGPathElement)
|
||||
libweb_js_wrapper(SVG/SVGPolygonElement)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue