1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 09:48:11 +00:00
serenity/Userland/Libraries/LibWeb/SVG
Andreas Kling 41ab0837fa LibWeb: Render SVG-as-image into an isolated top-level browsing context
In order to separate the SVG content from the rest of the engine, it
gets its very own Page, PageClient, top-level browsing context, etc.

Unfortunately, we do have to get the palette and CSS/device pixel ratios
from the host Page for now, maybe that's something we could refactor in
the future.

Note that this doesn't work visually yet, since we don't calculate the
intrinsic sizes & ratio for SVG images. That comes next. :^)
2023-05-21 07:44:29 +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: Add tag and attribute names for SVG linear gradients 2023-05-04 16:50:01 +02:00
AttributeParser.cpp LibWeb: Mark SVG::NumberPercentage accessors as const 2023-05-04 16:50:01 +02:00
AttributeParser.h LibWeb: Mark SVG::NumberPercentage accessors as const 2023-05-04 16:50:01 +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
SVGAnimatedNumber.cpp LibWeb: Implement SVGAnimatedNumber 2023-04-28 09:42:28 +02:00
SVGAnimatedNumber.h LibWeb: Implement SVGAnimatedNumber 2023-04-28 09:42:28 +02:00
SVGAnimatedNumber.idl LibWeb: Implement SVGAnimatedNumber 2023-04-28 09:42:28 +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 LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGDecodedImageData.cpp LibWeb: Render SVG-as-image into an isolated top-level browsing context 2023-05-21 07:44:29 +02:00
SVGDecodedImageData.h LibWeb: Render SVG-as-image into an isolated top-level browsing context 2023-05-21 07:44:29 +02: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: Propagate errors from parse_css_value and property_initial_value 2023-05-06 08:07:28 +02: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
SVGGradientElement.cpp LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGGradientElement.h LibWeb: Move some common SVG gradient functions into SVGGradientElement 2023-05-04 16:50:01 +02:00
SVGGradientElement.idl LibWeb: Implement SVGGradientElement 2023-04-28 09:42:28 +02:00
SVGGraphicsElement.cpp LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGGraphicsElement.h LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02: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
SVGLinearGradientElement.cpp LibWeb: Move some common SVG gradient functions into SVGGradientElement 2023-05-04 16:50:01 +02:00
SVGLinearGradientElement.h LibWeb: Implement SVGLinearGradientElement (<linearGradient>) 2023-04-28 09:42:28 +02:00
SVGLinearGradientElement.idl LibWeb: Implement SVGLinearGradientElement (<linearGradient>) 2023-04-28 09:42:28 +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
SVGRadialGradientElement.cpp LibWeb: Don't include HTML/Window.h from DOM/Element.h 2023-05-08 09:29:44 +02:00
SVGRadialGradientElement.h LibWeb: Add an initial implementation of SVG <radialGradient> 2023-05-04 16:50:01 +02:00
SVGRadialGradientElement.idl LibWeb: Add an initial implementation of SVG <radialGradient> 2023-05-04 16:50:01 +02:00
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
SVGStopElement.cpp LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGStopElement.h LibWeb: Implement SVG opacity properties 2023-05-20 08:52:19 +02:00
SVGStopElement.idl LibWeb: Implement SVGStopElement (<stop>) 2023-04-28 09:42:28 +02:00
SVGSVGElement.cpp LibWeb: Propagate errors from parse_css_value and property_initial_value 2023-05-06 08:07:28 +02:00
SVGSVGElement.h LibWeb: Implement SVG preserveAspectRatio attribute 2023-04-17 07:32:31 +02: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: Add tag and attribute names for SVG linear gradients 2023-05-04 16:50:01 +02:00
ViewBox.cpp LibWeb: Allow floating point values when parsing SVG viewboxes 2023-04-12 07:40:22 +02:00
ViewBox.h LibWeb: Add SVG::ViewBox to represent SVG view boxes 2021-09-15 11:56:26 +02:00