File:Incorrect path error handling.svg
Summary
Description |
English: This SVG is supposed to show the word "correct", but is rendered as "incorrect" instead. It contains path data, in which an L-command is missing a y-parameter. Instead of terminating the path rendering as specified in the Path Element Implementation Notes, librsvg defaults missing parameters to zero and continues rendering. The same behavior is observed with other path commands like l, c, C, etc.. |
Date | |
Source | Own work |
Author | TilmannR |
SVG development | Category:Invalid SVG created with Text Editor ![]() Category:Translation possible - SVGThis file uses embedded text that can be easily translated using a text editor. |
SVG | <?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="400" height="100">
<rect width="100%" height="100%" fill="#ccc"/>
<g font-family="Liberation Sans,sans-serif" font-size="72">
<text x="100" y="75" text-anchor="start">correct</text>
<text x="100" y="75" text-anchor="end">in</text>
</g>
<path fill="#ccc" d="M0,0 V100 H100 V0 H0 L100 V100 H0 Z"/>
</svg>
|
Licensing
I, the copyright holder of this work, hereby publish it under the following license:
![]() ![]() |
This file is made available under the Creative Commons CC0 1.0 Universal Public Domain Dedication. |
The person who associated a work with this deed has dedicated the work to the public domain by waiving all of their rights to the work worldwide under copyright law, including all related and neighboring rights, to the extent allowed by law. You can copy, modify, distribute and perform the work, even for commercial purposes, all without asking permission.
|