ladybird/Userland/Libraries/LibWeb/SVG
MacDue 5df4e64eb7 LibWeb: Implement SVG preserveAspectRatio attribute
This attribute is used to define how the viewBox should be scaled.
Previously the behaviour implemented was that of "xMidYMid meet", now
all of them work (expect none :P).

With this the Discord login backend is now correctly scaled/positioned.

This also brings our SVG code a little closer to the spec! With spec
comments and all :^)

(Minor non-visible update to layout tests)
2023-04-17 07:32:31 +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: Implement SVG preserveAspectRatio attribute 2023-04-17 07:32:31 +02:00
AttributeParser.h LibWeb: Implement SVG preserveAspectRatio attribute 2023-04-17 07:32:31 +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 LibWeb: Apply CSS scaling to SVG elements 2023-04-12 07:40:22 +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: 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: Fix a few typos 2023-04-12 19:37:35 +02:00
SVGGraphicsElement.h LibWeb: Scale SVG stroke-width based on viewbox 2023-04-15 19:28:13 +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
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: Implement SVG preserveAspectRatio attribute 2023-04-17 07:32:31 +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: Initialize static web strings during main-thread VM creation 2023-03-18 19:50:45 +01: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