1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 03:27:44 +00:00
serenity/Userland/Libraries/LibWeb/SVG
MacDue 62f087bd56 LibWeb: Add SVG transform parsing
This parses SVG transforms using the syntax from CSS Transforms
Module Level 1. Note: This looks very similar to CSS tranforms, but
the syntax is not compatible. For example, SVG rotate() is
rotate(<a> <x> <y>) where all parameters are unitless numbers whereas
CSS rotate() is rotate(<angle> unit) along with separate rotateX/Y/Z().

(At the same time AttributeParser is updated to use GenericLexer which
makes for easier string matching).

There is work needed for error handling (which AttributeParser does not
deal with very gracefully right now).
2023-04-12 07:40:22 +02:00
..
AttributeNames.cpp LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
AttributeNames.h LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
AttributeParser.cpp LibWeb: Add SVG transform parsing 2023-04-12 07:40:22 +02:00
AttributeParser.h LibWeb: Add SVG transform parsing 2023-04-12 07:40:22 +02:00
SVGAnimatedLength.cpp LibWeb: Make factory method of SVG::SVGAnimatedLength fallible 2023-02-18 00:52:47 +01:00
SVGAnimatedLength.h LibWeb: Make factory method of SVG::SVGAnimatedLength fallible 2023-02-18 00:52:47 +01:00
SVGAnimatedLength.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGCircleElement.cpp LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGCircleElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGCircleElement.idl LibWeb: Expose SVGCircleElement attributes to JS 2022-03-22 22:33:17 +01:00
SVGClipPathElement.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGClipPathElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGClipPathElement.idl LibWeb: Sketch out a very basic SVG <clipPath> element 2022-04-10 21:35:55 +02:00
SVGContext.h Meta+Userland: Pass Gfx::Color by value 2022-12-07 11:48:27 +01:00
SVGDefsElement.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGDefsElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGDefsElement.idl LibWeb: Add SVGDefsElement 2022-04-11 20:19:10 +02:00
SVGElement.cpp LibWeb: Make factory method of HTML::DOMStringMap fallible 2023-02-18 00:52:47 +01:00
SVGElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGElement.idl LibWeb: Move Element.prototype.style to ElementCSSInlineStyle mixin 2023-03-20 20:37:40 -04:00
SVGEllipseElement.cpp LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGEllipseElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGEllipseElement.idl LibWeb: Expose SVGEllipseElement attributes to JS 2022-03-22 22:33:17 +01:00
SVGForeignObjectElement.cpp LibWeb: Support more length types in SVG width/height attributes 2023-03-20 23:45:01 +01:00
SVGForeignObjectElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGForeignObjectElement.idl LibWeb: Sketch out basic support for SVG <foreignObject> elements 2022-11-16 13:01:21 +01:00
SVGGElement.cpp LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
SVGGElement.h LibWeb: Make the layout tree GC-allocated 2022-10-20 15:16:23 +02:00
SVGGeometryElement.cpp LibWeb: Make factory method of Geometry::DOMPoint fallible 2023-02-22 09:55:33 +01:00
SVGGeometryElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGGeometryElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGGraphicsElement.cpp Everywhere: Rename equals_ignoring_case => equals_ignoring_ascii_case 2023-03-10 13:15:44 +01:00
SVGGraphicsElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGGraphicsElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGLength.cpp LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGLength.h LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGLength.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGLineElement.cpp LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGLineElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGLineElement.idl LibWeb: Expose SVGLineElement attributes to JS 2022-03-22 22:33:17 +01:00
SVGPathElement.cpp Everywhere: Stop using NonnullRefPtrVector 2023-03-06 23:46:35 +01:00
SVGPathElement.h Everywhere: Use ReadonlySpan<T> instead of Span<T const> 2023-02-08 19:15:45 +00:00
SVGPathElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGPolygonElement.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGPolygonElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGPolygonElement.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
SVGPolylineElement.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGPolylineElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGPolylineElement.idl LibWeb: Add imports to all IDL files that depend on others 2022-02-16 22:48:32 +03:30
SVGRectElement.cpp LibWeb: Make factory method of SVG::SVGLength fallible 2023-02-18 00:52:47 +01:00
SVGRectElement.h LibGfx+LibWeb: Store radii as FloatSize rather than FloatPoint 2023-02-10 23:33:16 +01:00
SVGRectElement.idl LibWeb: Begin implementing SVGRectElement's SVGAnimatedLength attributes 2022-03-21 21:04:39 +01:00
SVGSVGElement.cpp LibWeb: Split PercentageStyleValue out of StyleValue.{h,cpp} 2023-03-25 16:56:04 +00:00
SVGSVGElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGSVGElement.idl LibWeb: Add Exposed attribute and IDL spec links where missing 2022-10-09 10:14:57 +02:00
SVGTextContentElement.cpp LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGTextContentElement.h LibJS+Everywhere: Allow Cell::initialize overrides to throw OOM errors 2023-01-29 00:02:45 +00:00
SVGTextContentElement.idl LibWeb: Add a barebones SVGTextContentElement with getNumberOfChars() 2022-03-20 13:36:45 +01:00
TagNames.cpp LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
TagNames.h LibWeb: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01:00
ViewBox.cpp LibWeb: Add SVG::ViewBox to represent SVG view boxes 2021-09-15 11:56:26 +02:00
ViewBox.h LibWeb: Add SVG::ViewBox to represent SVG view boxes 2021-09-15 11:56:26 +02:00