<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
  xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
  xmlns:fn="http://www.w3.org/2005/xpath-functions"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:date="http://exslt.org/dates-and-times">

<xsl:output method="text" indent="no" disable-output-escaping="no"/>
<xsl:strip-space elements="" />
<xsl:preserve-space elements="*" />

<xsl:template match="/">
===============================================================
                     Igor Testplan Report
===============================================================

Report created on <xsl:value-of select="date:date-time()"/>
by igor <http://gitorious.org/ovirt/igord>

------

Summary
---------------------------------------------------------------
- Testplan: <xsl:value-of select="/status/plan/name"/>
<xsl:if test="/status/passed = 'True'">
- State: **passed**</xsl:if>
<xsl:if test="/status/passed != 'True'">
- State: **failed**</xsl:if>
- Status: <xsl:value-of select="/status/status"/>
- Created at: <xsl:value-of select="/status/created_at"/>
- Runtime: <xsl:value-of select="/status/runtime"/> / <xsl:value-of select="/status/plan/timeout"/>

Layouts & Jobs
---------------------------------------------------------------
A layout specifies the parameters of a planned job.

<xsl:if test="count(/status/plan/job_layouts) = 0">
(None)
</xsl:if>
<xsl:for-each select="/status/plan/job_layouts">
<xsl:value-of select="position()"/>. Layout & Job
```````````````````````````````````````````````````````````````
:Testsuite: <xsl:value-of select="testsuite"/>
:Profile:   <xsl:value-of select="profile"/>
:Host:      <xsl:value-of select="host"/>
:Additional kernel arguments: ``<xsl:value-of select="additional_kargs"/>``
<xsl:if test="count(/status/jobs) >= position()">
<xsl:variable name="id" select="position()" />
<xsl:variable name="job" select="/status/jobs[$id]" />
:Job ID:    <xsl:value-of select="$job/id"/>
:Job State: **<xsl:value-of select="$job/state"/>**
:Job Runtime: <xsl:value-of select="$job/runtime"/> / <xsl:value-of select="$job/timeout"/>
</xsl:if>
<xsl:text>

</xsl:text>
</xsl:for-each>

</xsl:template>

</xsl:stylesheet>
<!-- vim: sw=2 -->


Add xsl file for xml to csv transformation

<xsl:stylesheet version="1.0" xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
  <xsl:output method="text" encoding="utf-8" />

  <xsl:param name="delim" select="','" />
  <xsl:param name="quote" select="'"'" />
  <xsl:param name="break" select="'
'" />

  <xsl:template match="/">
    <xsl:apply-templates select="records/item" />
  </xsl:template>

  <xsl:template match="item">
    <xsl:apply-templates />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$break" />
    </xsl:if>
  </xsl:template>

  <xsl:template match="*">
    <xsl:value-of select="concat($quote, normalize-space(), $quote)" />
    <xsl:if test="following-sibling::*">
      <xsl:value-of select="$delim" />
    </xsl:if>
  </xsl:template>

  <xsl:template match="text()" />
</xsl:stylesheet>


Declare the QuartzSchedulerServlet to be loaded in Cocoon webapp

<?xml version="1.0" encoding="UTF-8" ?>

<!--
    Document   : web-xml.xsl
    Created on : 6. März 2003, 11:39
    Author     : andreas
    Description:
        Purpose of transformation follows.
-->

<xsl:stylesheet version="1.0"
    xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

<xsl:template match="web-app">
  <xsl:copy>
    <xsl:copy-of select="@*"/>
    <xsl:apply-templates/>

    <xsl:comment>Scheduler</xsl:comment>

    <servlet>
      <servlet-name>QuartzSchedulerServlet</servlet-name>
      <servlet-class>org.lenya.cms.scheduler.LoadQuartzServlet</servlet-class>
      <init-param>
        <param-name>scheduler-configurations</param-name>
        <param-value>/lenya/content/scheduler/scheduler.xconf</param-value>
      </init-param>
    <load-on-startup>1</load-on-startup>
    </servlet>

    <servlet-mapping>
      <servlet-name>QuartzSchedulerServlet</servlet-name>
<!--
      <url-pattern>/load</url-pattern>
-->
      <url-pattern>/servlet/QuartzSchedulerServlet</url-pattern>
    </servlet-mapping>

    <xsl:comment>/Scheduler</xsl:comment>

  </xsl:copy>
</xsl:template>

<xsl:template match="@*|node()">
  <xsl:copy>
    <xsl:apply-templates select="@*|node()"/>
  </xsl:copy>
</xsl:template>

</xsl:stylesheet>


Create an xslt stylesheet for adding associated document element to sitelog geodesyml

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet
        xmlns:xsl="http://www.w3.org/1999/XSL/Transform"
        xmlns:geo="urn:xml-gov-au:icsm:egeodesy:0.5"
        xmlns:gml="http://www.opengis.net/gml/3.2"
        xmlns:xlink="http://www.w3.org/1999/xlink"
        version="1.0">
    <xsl:param name="description"/>
    <xsl:param name="documentName"/>
    <xsl:param name="contentType"/>
    <xsl:param name="createdDate"/>
    <xsl:param name="fileReference"/>
    <xsl:output method="xml" indent="yes"/>
    <xsl:template match="@* | node()">
        <xsl:copy>
            <xsl:apply-templates select="@* | node()"/>
        </xsl:copy>
    </xsl:template>
    <xsl:template match="geo:moreInformation">
        <xsl:copy-of select="."/>
        <xsl:element name="geo:associatedDocument">
            <xsl:element name="geo:Document">
                <xsl:attribute name="gml:id">Document.<xsl:value-of select="$documentName"/></xsl:attribute>
                <xsl:element name="gml:description">
                    <xsl:value-of select="$description"/>
                </xsl:element>
                <xsl:element name="gml:name">
                    <xsl:attribute name="codeSpace">eGeodesy/type</xsl:attribute>
                    <xsl:value-of select="$documentName"/>
                </xsl:element>
                <xsl:element name="geo:type">
                    <xsl:attribute name="codeSpace">eGeodesy/type</xsl:attribute>
                    <xsl:value-of select="$contentType"/>
                </xsl:element>
                <xsl:element name="geo:createdDate">
                    <xsl:value-of select="$createdDate"/>
                </xsl:element>
                <xsl:element name="geo:body">
                    <xsl:element name="geo:fileReference">
                        <xsl:attribute name="xlink:href">
                            <xsl:value-of select="$fileReference"/>
                        </xsl:attribute>
                    </xsl:element>
                </xsl:element>
            </xsl:element>
        </xsl:element>
    </xsl:template>
</xsl:stylesheet>


Convert keydef into list of entity definitions

<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet version="1.0"
 xmlns:xsl="http://www.w3.org/1999/XSL/Transform">

 <xsl:output method="text"/>
 <xsl:strip-space elements="*"/>

 <xsl:template match="/map">
  <xsl:text disable-output-escaping="no"><!--
  Keyword to entity file
-->
</xsl:text>
  <xsl:apply-templates/>
 </xsl:template>

 <!-- Ignore these elements -->
 <xsl:template match="title"/>
 <xsl:template match="keydef[@type='concept']"/>

 <xsl:template match="keydef">
  <xsl:variable name="key">
   <xsl:choose>
    <xsl:when test="contains(@keys, ' ')">
     <!-- FIXME -->
     <xsl:value-of select="@keys"/>
    </xsl:when>
    <xsl:otherwise>
     <xsl:value-of select="@keys"/>
    </xsl:otherwise>
   </xsl:choose>
  </xsl:variable>
  <xsl:variable name="content">
   <xsl:variable name="tmp">
    <xsl:apply-templates/>
   </xsl:variable>
   <xsl:text> "</xsl:text>
   <xsl:value-of select="normalize-space($tmp)"/>
   <xsl:text>"</xsl:text>
  </xsl:variable>
  <xsl:text><!ENTITY </xsl:text>
  <xsl:value-of select="$key"/>
  <xsl:value-of select="$content"/>
  <xsl:text>>
</xsl:text>
 </xsl:template>

 <xsl:template match="tm">
  <xsl:apply-templates/>
  <xsl:choose>
   <xsl:when test="@tmtype='reg'">®</xsl:when>
  </xsl:choose>
  <xsl:text></xsl:text>
 </xsl:template>

</xsl:stylesheet>


<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" version="1.1" width="1024" height="1376" viewBox="-305 -516 610 820">
<title>Wikimedia Commons Logo</title>
<defs>
	<clipPath id="c"><circle r="298"/></clipPath>
</defs>
<circle r="100" fill="#900"/>
<g fill="#069">
	<g id="arrow" clip-path="url(#c)">
		<path d="m-11 180v118h22v-118"/>
		<path d="m-43 185l43-75 43 75"/>
	</g>
	<g id="arrows3">
		<use xlink:href="#arrow" transform="rotate(45)"/>
		<use xlink:href="#arrow" transform="rotate(90)"/>
		<use xlink:href="#arrow" transform="rotate(135)"/>
	</g>
	<use xlink:href="#arrows3" transform="scale(-1 1)"/>
	<path id="blue_path" transform="rotate(-45)" stroke="#069" stroke-width="84" fill="none" d="M 0,-256 A 256 256 0 1 0 256,0 C 256,-100 155,-150 250,-275"/>
	<path id="arrow_top" d="m-23-515s-36 135-80 185 116-62 170-5-90-180-90-180z"/>
</g>
</svg>


<svg xmlns="http://www.w3.org/2000/svg"><symbol id="attributes-transfer-valid-attributes" viewBox="0 0 24 24" preserveAspectRatio="none" fill="none" stroke="none"><title>attributes-transfer-valid-attributes</title>
    <path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</symbol><view id="attributes-transfer-valid-attributes" viewBox="0 0 24 24" preserveAspectRatio="none"/></svg>

Fix attribute sequence in test

<svg xmlns="http://www.w3.org/2000/svg"><symbol preserveAspectRatio="none" fill="none" stroke="none" id="attributes-transfer-valid-attributes" viewBox="0 0 24 24"><title>attributes-transfer-valid-attributes</title>
    <path d="M21,7L9,19L3.5,13.5L4.91,12.09L9,16.17L19.59,5.59L21,7Z"/>
</symbol><view preserveAspectRatio="none" id="attributes-transfer-valid-attributes" viewBox="0 0 24 24"/></svg>


Add unknown language logo for displaying if a language has not provided a logo

<svg width="64" height="64" xmlns="http://www.w3.org/2000/svg">
 <!-- Created with Method Draw - http://github.com/duopixel/Method-Draw/ -->

 <g>
  <title>Layer 1</title>
  <rect stroke-dasharray="5,5" id="svg_2" height="64" width="64" y="0" x="0" stroke-width="12" stroke="#cccccc" fill="#fff"/>
  <text font-style="normal" font-weight="bold" transform="matrix(1.7981, 0, 0, 1.53108, -27.0924, -5.46667)" xml:space="preserve" text-anchor="start" font-family="'Trebuchet MS', Gadget, sans-serif" font-size="28" id="svg_3" y="34.393986" x="26.971826" stroke-width="0" stroke="#cccccc" fill="#cccccc">?</text>
 </g>
</svg>


<?xml version="1.0" encoding="UTF-8"?>
<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     width="100" height="100">
  <defs>
    <filter id="filter">
      <feImage xlink:href="#foo"/>
    </filter>
    <rect id="foo" x="30" y="30" width="30" height="30" filter="url(#filter)"/>
  </defs>

  <circle cx="50" cy="50" r="50" filter="url(#filter)"/>
</svg>


<svg role="img" aria-label="Ghost" viewBox="0 0 512 512" xmlns="http://www.w3.org/2000/svg" fill="#3d515b">
<rect fill="#e8e9eb" rx="15%" height="512" width="512"/>
<rect height="72" width="144" y="362" x="75"/>
<rect height="72" width="144" y="362" x="295"/>
<rect height="72" width="364" y="220" x="75"/>
<rect height="72" width="220" y="75" x="75"/>
<rect height="72" width="72" y="75" x="364"/>
</svg>

Use single path for equal width rectangles


Test showing problem on objectBoundingBox on text gradient. PR: Obtained from: Submitted by: Reviewed by:

<?xml version="1.0" standalone="no"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 20000802//EN"
"http://www.w3.org/TR/2000/CR-SVG-20000802/DTD/svg-20000802.dtd">

<!-- ========================================================================= -->
<!-- Copyright (C) The Apache Software Foundation. All rights reserved.        -->
<!--                                                                           -->
<!-- This software is published under the terms of the Apache Software License -->
<!-- version 1.1, a copy of which has been included with this distribution in  -->
<!-- the LICENSE file.                                                         -->
<!-- ========================================================================= -->

<!-- ========================================================================= -->
<!-- Test created after bug submitted by cjolif@ilog.fr showing a problem with -->
<!-- radialGradient with objectBoundingBox on a text element.                  -->
<!-- @author vhardy@apache.org                                                 -->
<!-- @version $Id$ -->
<!-- ========================================================================= -->
<?xml-stylesheet type="text/css" href="test.css" ?>

<svg id="body" width="450" height="500" viewBox="0 0 450 500">
<title>ObjectBounding box on TextNode</title>

  <defs>

    <radialGradient id="gradient" gradientUnits="objectBoundingBox"
cx="0.4953271150588989" cy="0.4933333396911621" fx="0.5" fy="0.5"
r="0.6560132">

      <stop offset="0.0" style="stop-color:blue" />

      <stop offset="0.57697475" style="stop-color:blue" />

      <stop offset="1.0" style="stop-color:#ff0033" />

    </radialGradient>

  </defs>

    <text x="50%" y="100" text-anchor="middle" font-size="30"
          font-family="Verdana" fill="url(#gradient)">
    ObjectBoudingBox
    </text>

    <!-- ============================================================= -->
    <!-- Batik sample mark                                             -->
    <!-- ============================================================= -->
    <use xlink:href="../batikLogo.svg#Batik_Tag_Box" />

</svg>


<?xml version="1.0" ?>

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     version="1.1"
     viewBox="0 0 10 10">

  <title>Checked checkbox</title>

  <defs>
    <style>
      <![CDATA[
               svg .form-control-outline {
               fill: none;
               stroke: gray;
               }

               svg .form-control-checked-interior {
               fill: forestgreen;
               }
      ]]>
    </style>
  </defs>

  <rect class="form-control-outline"
        x="0.5" y="0.5" width="9" height="9" stroke-width="1"/>

  <rect class="form-control-checked-interior"
        x="2" y="2" width="6" height="6"/>

</svg>

Make checked checkboxes more easily distinguishable from radio buttons.

<?xml version="1.0" ?>

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     version="1.1"
     viewBox="0 0 10 10">

  <title>Checked checkbox</title>

  <defs>
    <style>
      <![CDATA[
               svg .form-control-outline {
               fill: none;
               stroke: gray;
               }

               svg .form-control-checked-interior {
               fill: forestgreen;
               }
      ]]>
    </style>
  </defs>

  <rect class="form-control-outline"
        x="0.5" y="0.5" width="9" height="9" stroke-width="1"/>

  <text class="form-control-checked-interior"
        x="5" y="5" font-size="10" transform="translate(0,0.5)"
        text-anchor="middle" dominant-baseline="central">✔</text>

  <!--
      <rect class="form-control-checked-interior"
      x="2" y="2" width="6" height="6"/>
  -->

</svg>


<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200" height="200" viewBox="0.00 0.00 200.00 200.00" preserveAspectRatio="none">
<g>
<path d="M100,0l0,80l-50,20l-50,-100z" fill="#d9534f" stroke="#d9534f" stroke-width="2" class="oppose" title="Click to open the Voting Panel"/>
<path d="M100,0l0,80l50,20l50,-100z" fill="#5cb85c" stroke="#5cb85c" stroke-width="2" class="endorse" title="Click to open the Voting Panel"/>
<path d="M100,200l50,-100l-50,-20l-50,20z" fill="#428bca" stroke="#428bca" stroke-width="2" class="confused" title="Click to open the Voting Panel"/>
</g>
</svg>

Update title to "click to vote"

<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="200" height="200" viewBox="0.00 0.00 200.00 200.00" preserveAspectRatio="none">
<g>
<path d="M100,0l0,80l-50,20l-50,-100z" fill="#d9534f" stroke="#d9534f" stroke-width="2" class="oppose" title="Click to vote"/>
<path d="M100,0l0,80l50,20l50,-100z" fill="#5cb85c" stroke="#5cb85c" stroke-width="2" class="endorse" title="Click to vote"/>
<path d="M100,200l50,-100l-50,-20l-50,20z" fill="#428bca" stroke="#428bca" stroke-width="2" class="confused" title="Click to vote"/>
</g>
</svg>


<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-circle" cx="0" cy="0" r="6" stroke-width="1" />
    <use id="c4-empty-slot" xlink:href="#c4-circle" fill="none" stroke="#ccc" />
    <use id="c4-blue-chip" xlink:href="#c4-circle" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-circle" fill="#c33" stroke="#900" />
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" rx="3" ry="3" />
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-empty-slot" x="24" y="8" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>

Decrease stroke width of app icon chips/slots

<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-circle" cx="0" cy="0" r="6" stroke-width="0.5" />
    <use id="c4-empty-slot" xlink:href="#c4-circle" fill="none" stroke="#bbb" />
    <use id="c4-blue-chip" xlink:href="#c4-circle" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-circle" fill="#c33" stroke="#900" />
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" rx="3" ry="3" />
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-empty-slot" x="24" y="8" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>


<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
    <title>icon-x</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="icon-x" fill="#191919">
            <path d="M9,7 L9,1 L7,1 L7,7 L1,7 L1,9 L7,9 L7,15 L9,15 L9,9 L15,9 L15,7 L9,7 Z" id="Combined-Shape" transform="translate(8.000000, 8.000000) rotate(45.000000) translate(-8.000000, -8.000000) "></path>
        </g>
    </g>
</svg>

Fix the icon cross colour

<?xml version="1.0" encoding="UTF-8"?>
<svg width="16px" height="16px" viewBox="0 0 16 16" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 46.2 (44496) - http://www.bohemiancoding.com/sketch -->
    <title>icon-x</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="icon-x" fill="currentColor">
            <path d="M9,7 L9,1 L7,1 L7,7 L1,7 L1,9 L7,9 L7,15 L9,15 L9,9 L15,9 L15,7 L9,7 Z" id="Combined-Shape" transform="translate(8.000000, 8.000000) rotate(45.000000) translate(-8.000000, -8.000000) "></path>
        </g>
    </g>
</svg>


<svg  xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <defs>
          <marker id="Triangle"
            viewBox="0 0 10 10" refX="4" refY="5"
            markerUnits="strokeWidth"
            markerWidth="4" markerHeight="3"
            style="stroke:#FF9933;"
            orient="auto">
            <path d="M 0 0 L 10 5 L 0 10 z" />
            </marker>
     </defs>
     <line id="migrationPath" x1="0" x2="80" y1="0" y2="80" style="background-color:transparent;z-index:2;fill:none;stroke:#FF9933;stroke-width:5;" marker-end="url(#Triangle)"/>

</svg>

Make the migration arrow smaller

<svg  xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="http://www.w3.org/2000/svg" >
     <defs>
          <marker id="Triangle"
            viewBox="0 0 10 10" refX="3" refY="5"
            markerUnits="strokeWidth"
            markerWidth="3" markerHeight="3"
            style="stroke:#FF9933;"
            orient="auto">
            <path d="M 0 0 L 10 5 L 0 10 z" />
            </marker>
     </defs>
     <line id="migrationPath" x1="0" x2="80" y1="0" y2="80" style="background-color:transparent;z-index:2;fill:none;stroke:#FF9933;stroke-width:4;" marker-end="url(#Triangle)"/>

</svg>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="8px" height="12px" viewBox="0 0 8 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
    <title>Shape</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Sketch-App-Sources" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="0.539999962">
        <g id="system-icons" transform="translate(-372.000000, -105.000000)" fill="#FFFFFF">
            <g id="chevron-right" transform="translate(364.000000, 99.000000)">
                <polygon id="Shape" points="8.59997559 7.4 9.99997559 6 15.9999756 12 9.99997559 18 8.59997559 16.6 13.1999756 12"></polygon>
            </g>
        </g>
    </g>
</svg>

Revert "Commit changed triangle-right icon in build/"

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg width="8px" height="12px" viewBox="0 0 8 12" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 3.8.3 (29802) - http://www.bohemiancoding.com/sketch -->
    <title>Shape</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Sketch-App-Sources" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd" opacity="1">
        <g id="system-icons" transform="translate(-372.000000, -105.000000)" fill="#FFFFFF">
            <g id="chevron-right" transform="translate(364.000000, 99.000000)">
                <polygon id="Shape" points="8.59997559 7.4 9.99997559 6 15.9999756 12 9.99997559 18 8.59997559 16.6 13.1999756 12"></polygon>
            </g>
        </g>
    </g>
</svg>


<?xml version="1.0" encoding="UTF-8"?>
<svg width="2" height="12" viewBox="0 0 2 12" xmlns="http://www.w3.org/2000/svg">
	<g fill="#f8a708" fill-rule="evenodd">
		<path d="M0 0h2v7H0zM0 10h2v2H0z"/>
	</g>
</svg>

Update warning icon to inherit color.

<?xml version="1.0" encoding="UTF-8"?>
<svg width="2" height="12" viewBox="0 0 2 12" xmlns="http://www.w3.org/2000/svg">
	<g fill="currentColor" fill-rule="evenodd">
		<path d="M0 0h2v7H0zM0 10h2v2H0z"/>
	</g>
</svg>


Add a missing icon to background-position: 0 0


Add an icon for the "find/highlight the current outlineItem" functionality


<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-chip" cx="0" cy="0" r="6" stroke-width="1" />
    <use id="c4-blue-chip" xlink:href="#c4-chip" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-chip" fill="#c33" stroke="#900" />
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" rx="3" ry="3" />
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>

Add empty slot to app icon

<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-circle" cx="0" cy="0" r="6" stroke-width="1" />
    <use id="c4-empty-slot" xlink:href="#c4-circle" fill="none" stroke="#ccc" />
    <use id="c4-blue-chip" xlink:href="#c4-circle" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-circle" fill="#c33" stroke="#900" />
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" rx="3" ry="3" />
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-empty-slot" x="24" y="8" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>


<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m14 1050.4h-12v-12h12l-6 6z" fill="none" stroke="#a5b7f3" stroke-linejoin="round" stroke-width="2" transform="translate(0 -1036.4)"/></svg>

Add unique icon to Polygon2D

<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><path d="m14 1050.4h-12v-12h12l-6 6z" fill="#a5b7f3" stroke="#a5b7f3" stroke-linejoin="round" stroke-width="2" transform="translate(0 -1036.4)"/></svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Bender</title>
  <script xlink:href="flexo.js"/>
  <script xlink:href="bender.js"/>
  <script xlink:href="lib.js"/>
  <g id="dest-body"/>
  <script><![CDATA[

var args = bender.get_args("app=core/tests/hello-svg&debug=1");
if (args.app) {
  bender.init_app(args.path + args.app + args.suffix, args, function(app) {
      if (args.debug) {
        $APP = app;
        flexo.log("Bender/SVG app started OK");
      }
    });
} else {
  alert("Error: No app to show; missing app parameter.");
}

window.onerror = function(msg) { alert("Error: {0}".fmt(msg)); };

  ]]></script>
</svg>

Set default test for Vidualize

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.2" baseProfile="tiny"
  xmlns:xlink="http://www.w3.org/1999/xlink">
  <title>Bender</title>
  <script xlink:href="flexo.js"/>
  <script xlink:href="bender.js"/>
  <script xlink:href="lib.js"/>
  <g id="dest-body"/>
  <script><![CDATA[

var args = bender.get_args("app=core/tests/svg-button&debug=1");
if (args.app) {
  bender.init_app(args.path + args.app + args.suffix, args, function(app) {
      if (args.debug) {
        $APP = app;
        flexo.log("Bender/SVG app started OK");
      }
    });
} else {
  alert("Error: No app to show; missing app parameter.");
}

window.onerror = function(msg) { alert("Error: {0}".fmt(msg)); };

  ]]></script>
</svg>


Update /docs/images/badges to v0.0.1 * Branch: quick-spawn * Done automatically

<?xml version="1.0" encoding="utf-8" ?>
<svg xmlns="http://www.w3.org/2000/svg" xlink="http://www.w3.org/1999/xlink" width="107.14285714285714" height="18.285714285714285">
  <rect x="0.5" y="0.5" width="106.14285714285714" height="17.285714285714285" fill="orange" stroke-width="1" rx="3.657142857142857" ry="3.657142857142857"></rect>
  <text x="53.57142857142857" y="9.142857142857142" alignment-baseline="central" text-anchor="middle" font-size="14.285714285714285" fill="white" stroke-width="1" style="text-transform:uppercase;font-family:NK57 Monospace, Lucida Grande, Seogoe UI, Ubuntu, Cantarell, Corbel, DejaVu Sans, Calibri, Vera, Roman, Tahoma, sans-serif">experimental</text>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" xmlns:sodipodi="http://inkscape.sourceforge.net/DTD/sodipodi-0.dtd">
    <sodipodi:namedview>
        ...
    </sodipodi:namedview>

    <path d="..." sodipodi:nodetypes="cccc"/>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg">
    <path d="..."/>
</svg>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 16 16">
	<g transform="translate(0,-1036.4)" fill="#9c27b0">
		<circle cy="1046.8" cx="3.2" r="3.2"/>
		<circle cy="1050.4" cx="10.8" r="2"/>
		<circle cy="1041.2" cx="11.2" r="4.8"/>
	</g>
</svg>

Add inset shadow to browserAction icon

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns="http://www.w3.org/2000/svg" height="16" width="16" version="1.1" xmlns:cc="http://creativecommons.org/ns#" xmlns:dc="http://purl.org/dc/elements/1.1/" viewBox="0 0 16 16">
	<defs>
		<filter id="inset-shadow" style="color-interpolation-filters:sRGB">
			<feFlood result="flood" flood-opacity=".5" flood-color="rgb(0,0,0)"/>
			<feComposite operator="out" result="composite1" in2="SourceGraphic" in="flood"/>
			<feGaussianBlur stdDeviation="0.5" result="blur" in="composite1"/>
			<feOffset result="offset" dx="4.46865e-15" dy="1.38778e-16"/>
			<feComposite operator="atop" result="composite2" in2="SourceGraphic" in="offset"/>
		</filter>
	</defs>
	<g filter="url(#inset-shadow)" transform="translate(0,-1036.4)" fill="#9c27b0">
		<circle cy="1046.8" cx="3.2" r="3.2"/>
		<circle cy="1050.4" cx="10.8" r="2"/>
		<circle cy="1041.2" cx="11.2" r="4.8"/>
	</g>
</svg>


<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
</svg>

Add west version of temporary logo

<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo-north' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
  <rect id='logo-west' x='4' y='4' width='12' height='72' style='fill:orange; stroke:white; stroke-width:4;' />
</svg>


<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="132" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="132" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h53v20H0z"/><path fill="#6C7A89" d="M53 0h79v20H53z"/><path fill="url(#b)" d="M0 0h132v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="26.5" y="15" fill="#010101" fill-opacity=".3">Contact</text><text x="26.5" y="14">Contact</text><text x="91.5" y="15" fill="#010101" fill-opacity=".3">@ alexaubry</text><text x="91.5" y="14">@ alexaubry</text></g></svg>

Fix underscore in Twitter handle

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="132" height="20"><linearGradient id="b" x2="0" y2="100%"><stop offset="0" stop-color="#bbb" stop-opacity=".1"/><stop offset="1" stop-opacity=".1"/></linearGradient><clipPath id="a"><rect width="132" height="20" rx="3" fill="#fff"/></clipPath><g clip-path="url(#a)"><path fill="#555" d="M0 0h53v20H0z"/><path fill="#6C7A89" d="M53 0h79v20H53z"/><path fill="url(#b)" d="M0 0h132v20H0z"/></g><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="26.5" y="15" fill="#010101" fill-opacity=".3">Contact</text><text x="26.5" y="14">Contact</text><text x="91.5" y="15" fill="#010101" fill-opacity=".3">@_alexaubry</text><text x="91.5" y="14">@_alexaubry</text></g></svg>


Complete template part part-performance. Include the template part in the front page with php.


<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="blue_outline" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px"
	 y="0px" viewBox="0 0 26 20" style="enable-background:new 0 0 26 20;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#DEE0E2;}
	.st1{fill:#005EA5;}
</style>
<g>
	<polygon class="st0" points="1,19.1 1,1 9.8,1 11.3,5 25,5 25,19.1 	"/>
	<path class="st1" d="M9.2,1.9l1,2.8l0.5,1.2H12h12.1v12.2H1.9v-11V5.2V1.9H9.2 M10.5,0h-0.2H0v5.2v1.9V20h26V4H12L10.5,0L10.5,0z"
		/>
</g>
</svg>


Add icone for io.cozy.identities docType


<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="128" height="128" viewBox="0 0 8 8" version="1" xmlns="http://www.w3.org/2000/svg">
<path d="M 1 1 H 7 V 7 H 1 z" fill="#00cc33"/>
<path d="M 0 0 H 2 L 4 1 1 4 0 2 z" fill="#ffcc33"/>
<path d="M 4 1 L 6 0 H 8 V 2 L 7 4 z" fill="#ff3366"/>
<path d="M 1 4 L 4 7 2 8 H 0 V 6 z" fill="#3333ff"/>
<path d="M 7 4 L 8 6 V 8 H 6 L 4 7 z" fill="#00ccff"/>
</svg>

Make logo SVG non-tiny on android

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg width="8" height="8" viewBox="0 0 8 8" version="1" xmlns="http://www.w3.org/2000/svg">
<path d="M 1 1 H 7 V 7 H 1 z" fill="#00cc33"/>
<path d="M 0 0 H 2 L 4 1 1 4 0 2 z" fill="#ffcc33"/>
<path d="M 4 1 L 6 0 H 8 V 2 L 7 4 z" fill="#ff3366"/>
<path d="M 1 4 L 4 7 2 8 H 0 V 6 z" fill="#3333ff"/>
<path d="M 7 4 L 8 6 V 8 H 6 L 4 7 z" fill="#00ccff"/>
</svg>


<?xml version="1.0" ?>

<svg xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     version="1.1"
     viewBox="0 0 2 2">

  <title>(get 'SBCL)</title>

  <rect id="top-left-square"
        x="0" y="0" width="0.98" height="0.98"
        fill="#00E000" stroke="none"/>
  <rect id="top-right-square"
        x="1.02" y="0" width="0.98" height="0.98"
        fill="#DDDD22" stroke="none"/>
  <rect id="bottom-left-square"
        x="0" y="1.02" width="0.98" height="0.98"
        fill="#555555" stroke="none"/>
  <rect id="bottom-right-square"
        x="1.02" y="1.02" width="0.98" height="0.98"
        fill="#AA0000" stroke="none"/>

</svg>


<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
  <g id="color-swatch-remove-color" fill="none" fill-rule="evenodd">
    <path id="Line" stroke="#000" stroke-width="2" d="M21,3 L3,21"/>
  </g>
</svg>


<svg fill="#000000" opacity="0.3" height="24" viewBox="0 0 24 24" width="24" xmlns="http://www.w3.org/2000/svg">
    <path d="M7 10l5 5 5-5z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

Improve filter dropdown arrow appearance in dark mode


<svg viewBox="0 0 11 11" xmlns="http://www.w3.org/2000/svg">
  <polygon points="11,11 11,0 10,0 10,10 0,10 0,11" fill="#fff" opacity="0.1" />
</svg>

Make gridlines in grid background more subtle


<svg width="40" height="60" xmlns="http://www.w3.org/2000/svg"><path d="M18 5v12H7v26h11v12l14-25z" fill="#fff"/></svg>

Add viewbox to default icon


Add plugin icon for Jetbrains plugin repository


<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="24" height="24"
	 viewBox="30 30 150 180" xml:space="preserve">
<style type="text/css">
	.st1{stroke:#d7dae0;
	fill:transparent;
	stroke-width:8;
	stroke-linejoin:round}
</style>
<polygon class="st1"
 points="126.7,205.6 80.1,159 126.7,112.3 179.9,112.3 130.7,160.5 177.9,205.6 "/>
<polygon class="st1"
 points="126.7,32.5 126.6,32.4 39.9,119 66.6,145.7 179.8,32.5 "/>
</svg>

Fix clipping of updated Flutter side bar icon


<svg class="marks" width="400" height="200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="clip1"><rect x="0" y="0" width="400" height="200"></rect></clipPath></defs><g transform="translate(0,0)"><g class="mark-group"><g transform="translate(0,0)" clip-path="url(#clip1)"><path class="background" d="M0,0h400v200h-400Z" style="pointer-events: none; fill: none;"></path><g class="mark-rect"><path d="M0,144h99v56h-99Z" style="fill: steelblue;"></path><path d="M100,90h99v110h-99Z" style="fill: steelblue;"></path><path d="M200,114h99v86h-99Z" style="fill: steelblue;"></path><path d="M300,18h99v182h-99Z" style="fill: steelblue;"></path></g></g></g></g></svg>

Update href svg test case to include viewBox.

<svg class="marks" width="400" height="200" viewBox="0 0 400 200" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink"><defs><clipPath id="clip1"><rect x="0" y="0" width="400" height="200"></rect></clipPath></defs><g transform="translate(0,0)"><g class="mark-group"><g transform="translate(0,0)" clip-path="url(#clip1)"><path class="background" d="M0,0h400v200h-400Z" style="pointer-events: none; fill: none;"></path><g class="mark-rect"><path d="M0,144h99v56h-99Z" style="fill: steelblue;"></path><path d="M100,90h99v110h-99Z" style="fill: steelblue;"></path><path d="M200,114h99v86h-99Z" style="fill: steelblue;"></path><path d="M300,18h99v182h-99Z" style="fill: steelblue;"></path></g></g></g></g></svg>


<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
  <style>
    path {
      fill-rule: evenodd;
      fill:#fff;
    }
  </style>
  <path d="M426,22H416a1,1,0,0,1,0-2h3a1,1,0,0,1,1-1h2a1,1,0,0,1,1,1h3A1,1,0,0,1,426,22Zm-0.9,10a1.132,1.132,0,0,1-1.1,1H418a1.125,1.125,0,0,1-1.1-1L416,23h10Z" transform="translate(-413 -18)"/>
</svg>

Revert color change of garbage bin, which was used elsewhere and shouldn't have been changed

<?xml version="1.0"?>
<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="16" height="16" viewBox="0 0 16 16">
  <style>
    path {
      fill-rule: evenodd;
      fill:#4d4d4d;
    }
  </style>
  <path d="M426,22H416a1,1,0,0,1,0-2h3a1,1,0,0,1,1-1h2a1,1,0,0,1,1,1h3A1,1,0,0,1,426,22Zm-0.9,10a1.132,1.132,0,0,1-1.1,1H418a1.125,1.125,0,0,1-1.1-1L416,23h10Z" transform="translate(-413 -18)"/>
</svg>


<?xml-stylesheet type="text/css" href="../css/defaults.css"?>

<svg version="1.1"
     baseProfile="full"
     width="7" height="7"
     xmlns="http://www.w3.org/2000/svg">
     <defs>
          <mask id="hole">
               <rect width="100%" height="100%" fill="white" />
               <rect x="2" y="3" width="3" height="1" />
          </mask>
     </defs>
     <rect id="logotype-shape" x="1" y="2" width="5" height="3" fill="#184b81" mask="url(#hole)"/>
</svg>

Replace width and height with viewBox

<?xml-stylesheet type="text/css" href="../css/defaults.css"?>

<svg version="1.1"
     baseProfile="full"
     viewBox="0 0 7 7"
     xmlns="http://www.w3.org/2000/svg">
     <defs>
          <mask id="hole">
               <rect width="100%" height="100%" fill="white" />
               <rect x="2" y="3" width="3" height="1" />
          </mask>
     </defs>
     <rect id="logotype-shape" x="1" y="2" width="5" height="3" fill="#184b81" mask="url(#hole)"/>
</svg>


<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
    <title>Slice</title>
    <desc>Created with Sketch.</desc>
    <defs></defs>
    <g id="Form-Elements-Dev-Assets-(Thijs)" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <polygon id="IC_TEAL-CHECK-(place-holder)" fill="#087AAD" points="10.1802137 16 6 12.1129 7.29586623 10.8214 10.1569902 13.4647 16.6790525 7 18 8.2681"></polygon>
    </g>
</svg>

Delete title from checkmark icon so it is not pulled in as input text by IE11.

<?xml version="1.0" encoding="UTF-8"?>
<svg width="24px" height="24px" viewBox="0 0 24 24" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 45.1 (43504) - http://www.bohemiancoding.com/sketch -->
    <defs></defs>
    <g id="Form-Elements-Dev-Assets-(Thijs)" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <polygon id="IC_TEAL-CHECK-(place-holder)" fill="#087AAD" points="10.1802137 16 6 12.1129 7.29586623 10.8214 10.1569902 13.4647 16.6790525 7 18 8.2681"></polygon>
    </g>
</svg>


<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.408 8.217l-8.083-6.7A.2.2 0 0 0 4 1.672V12.3a.2.2 0 0 0 .333.146l2.56-2.372 1.857 3.9A1.125 1.125 0 1 0 10.782 13L8.913 9.075l3.4-.51a.2.2 0 0 0 .095-.348z"></path></svg>

Tweak the `editorNone` icon to circumvent the "duplicated files"-check

<!-- This Source Code Form is subject to the terms of the Mozilla Public
   - License, v. 2.0. If a copy of the MPL was not distributed with this
   - file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16" viewBox="0 0 16 16"><path d="M12.407 8.217l-8.083-6.7A.2.2 0 0 0 4 1.672V12.3a.2.2 0 0 0 .333.146l2.56-2.372 1.857 3.9A1.125 1.125 0 1 0 10.782 13L8.913 9.075l3.4-.51a.2.2 0 0 0 .095-.348z"></path></svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30" height="20"><image  xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUBAMAAABohZD3AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAVUExURRwt//8AAP/QAP/YABIu/14ftP+TAJf9yMoAAAAkSURBVBjTY1BCBQyU8o1RAUMaKmAQRAVU54eiAgYXVMBAZQAAyNch36s/YkYAAAAASUVORK5CYII=" width="30" height="20"/></svg>

Replace North Frisian flag with SVG equivalent

<?xml version="1.0"?><svg xmlns="http://www.w3.org/2000/svg" width="100" height="60"><rect width="100" height="60" fill="#1c2dff"/><rect width="100" height="40" fill="#f00"/><rect width="100" height="20" fill="#ffd000"/></svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20" viewBox="0 0 4.5 3"><path fill="#007a3d" d="M0 0h4.5v3H0z"/><path fill="#fff" d="M0 0h4.5v2H0z"/><path d="M0 0h4.5v1H0z"/><path fill="#ce1126" d="M0 0l1.5 1.5L0 3z"/></svg>

Fix South Levantine Arabic flag color on hover


<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo-north-image' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
  <rect id='logo-west-image' x='4' y='4' width='12' height='72' style='fill:orange; stroke:white; stroke-width:4;' />
  <svg id='new-game-image'>
    <circle cx='50' cy='50' r='40' stroke='green' stroke-width='10' fill='blue' />
  </svg>
  <svg id='full-screen-expand-image'>
    <polygon points='10,10 40,10 10,40' style='fill:white stroke:white stroke-width:1' />
    <polygon points='80,80 50,10 80,40' style='fill:white stroke:white stroke-width:1' />
    <polygon points='10,80 40,80 10,50' style='fill:white stroke:white stroke-width:1' />
    <polygon points='80,10 50,10 80,40' style='fill:white stroke:white stroke-width:1' />
  </svg>
</svg>

Correct full screen button image

<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo-north-image' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
  <rect id='logo-west-image' x='4' y='4' width='12' height='72' style='fill:orange; stroke:white; stroke-width:4;' />
  <svg id='new-game-image'>
    <circle cx='50' cy='50' r='40' stroke='green' stroke-width='10' fill='blue' />
  </svg>
  <svg id='full-screen-expand-image'>
    <polygon points='10,10 40,10 10,40' style='fill:white; stroke:white; stroke-width:1;' />
    <polygon points='80,80 50,80 80,50' style='fill:white; stroke:white; stroke-width:1;' />
    <polygon points='10,80 40,80 10,50' style='fill:white; stroke:white; stroke-width:1;' />
    <polygon points='80,10 50,10 80,40' style='fill:white; stroke:white; stroke-width:1;' />
  </svg>
</svg>


Add margin logo source, useful for when icon is automatically rounded


Add svg resource for start button for card title area

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<!-- Created with Inkscape (http://www.inkscape.org/) -->

<svg
   xmlns:dc="http://purl.org/dc/elements/1.1/"
   xmlns:cc="http://creativecommons.org/ns#"
   xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#"
   xmlns:svg="http://www.w3.org/2000/svg"
   xmlns="http://www.w3.org/2000/svg"
   xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd"
   xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape"
   width="320"
   height="320"
   id="svg3451"
   version="1.1"
   inkscape:version="0.48.4 r9939"
   sodipodi:docname="card_item_start_button.svg">
  <defs
     id="defs3453" />
  <sodipodi:namedview
     id="base"
     pagecolor="#ffffff"
     bordercolor="#666666"
     borderopacity="1.0"
     inkscape:pageopacity="0.0"
     inkscape:pageshadow="2"
     inkscape:zoom="2.596875"
     inkscape:cx="93.959085"
     inkscape:cy="160"
     inkscape:document-units="px"
     inkscape:current-layer="g404"
     showgrid="false"
     inkscape:window-width="1920"
     inkscape:window-height="1018"
     inkscape:window-x="-8"
     inkscape:window-y="-8"
     inkscape:window-maximized="1" />
  <metadata
     id="metadata3456">
    <rdf:RDF>
      <cc:Work
         rdf:about="">
        <dc:format>image/svg+xml</dc:format>
        <dc:type
           rdf:resource="http://purl.org/dc/dcmitype/StillImage" />
        <dc:title></dc:title>
      </cc:Work>
    </rdf:RDF>
  </metadata>
  <g
     inkscape:label="Layer 1"
     inkscape:groupmode="layer"
     id="layer1"
     transform="translate(0,-732.3622)">
    <g
       id="g404"
       transform="matrix(9.0780291,0,0,-9.0884304,73,792.3622)">
      <path
         style="fill:#ffffff;fill-opacity:1;fill-rule:nonzero;stroke:none"
         id="path406"
         inkscape:connector-curvature="0"
         d="M 0,0 0,-22.006 19.057,-11.003 0,0 z" />
    </g>
  </g>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><path fill="#1A9CB0" d="M5 9h3v4h4V9h3l-5-5-5 5zm0 6v2h10v-2H5z"/></svg>

Fix export icon view box


<?xml version="1.0" encoding="UTF-8"?>
<svg width="48" height="48" version="1.1" xmlns="http://www.w3.org/2000/svg">
 <ellipse cx="19.729" cy="19.729" rx="15.962" ry="15.962" fill="none" stroke="#000" stroke-dashoffset="1.4" stroke-width="1.8046"/>
 <rect x="18.712" y="20.136" width="26.441" height="22.373" fill="none" stroke="#000" stroke-dashoffset="1.4" stroke-width="2"/>
</svg>

Fix an issue where the outline + fill icon looked the same as the fill icon on light themes


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink">
  <defs>
    <filter id="filter" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
      <feConvolveMatrix order="3 1" kernelMatrix="0.3333 0.3333 0.3333" edgeMode="none"/>
    </filter>
  </defs>
  <!-- Use the filter (otherwise, scour discards it before it trips over it) -->
  <image id="png" x="10" y="30" width="150" height="50" xlink:href="raster.png"
         filter="url(#filter)"/>
</svg>

Use number-optional-number variant of kernelUnitLength

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink= "http://www.w3.org/1999/xlink">
  <defs>
    <filter id="filter" filterUnits="objectBoundingBox" x="0%" y="0%" width="100%" height="100%">
      <feConvolveMatrix order="3 1" kernelMatrix="0.3333 0.3333 0.3333" kernelUnitLength="3 1" edgeMode="none"/>
    </filter>
  </defs>
  <!-- Use the filter (otherwise, scour discards it before it trips over it) -->
  <image id="png" x="10" y="30" width="150" height="50" xlink:href="raster.png"
         filter="url(#filter)"/>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30" height="20"><image  xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAAJcEhZcwAADsQAAA7EAZUrDhsAAABmUExURe8zQEeZJP+zwVyvRv+1xmCxSme1VO0kMu0lM/+tvv+quP+0xIvJfv+rupPDf4TFdZrRkHm+aG25W2OyTpLMhkGWHoq+czyTFzqSFaLVmU2cLFerQHu2Y4K6a3ezXpDLhK3bp6nPmTdlHwQAAABuSURBVBgZ7cE5EoMwDABAIdkGyTc3ufP/T2YGUdNk0mUX/n6gOwV8iJFFWCJHYRE+gFPDmO220avaZ6FSyClo1CXd1sd9facpzcsyp6nZgVV9CLXSkF0fwkjXTHYHRnlE9Maj94hoDBoF7Sn4ygctTAdyK+iUQAAAAABJRU5ErkJggg==" width="30" height="20"/></svg>

Remove a bit of blurriness from the Lezgi flag


Add a new trash icon to the places (was on the status list)


<?xml version="1.0" encoding="UTF-8"?>
<svg width="400px" height="518px" viewBox="0 0 400 518" version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
    <!-- Generator: Sketch 41.2 (35397) - http://www.bohemiancoding.com/sketch -->
    <title>Error Face 2</title>
    <desc>Created with Sketch.</desc>
    <defs>
        <polyline id="path-1" points="400 99.5 400 517.647059 0 517.647059 0 0 300.5 0"></polyline>
        <mask id="mask-2" maskContentUnits="userSpaceOnUse" maskUnits="objectBoundingBox" x="0" y="0" width="400" height="517.647059" fill="white">
            <use xlink:href="#path-1"></use>
        </mask>
    </defs>
    <g id="Page-1" stroke="none" stroke-width="1" fill="none" fill-rule="evenodd">
        <g id="Desktop" transform="translate(-560.000000, -39.000000)">
            <g id="Error-Face-2" transform="translate(560.000000, 39.000000)">
                <g id="Frame">
                    <rect id="Diagonal-Block" fill="#979797" x="300.5" y="50" width="50" height="50"></rect>
                    <use id="Outline" stroke="#979797" mask="url(#mask-2)" stroke-width="100" xlink:href="#path-1"></use>
                </g>
                <g id="Facial-Features" transform="translate(75.000000, 149.000000)" fill="#979797">
                    <path d="M176,0 L226,0 L226,100 L176,100 L176,0 Z M25,0 L75,0 L75,100 L25,100 L25,0 Z" id="Eyes"></path>
                    <path d="M50,195 L200,195 L200,245 L50,245 L50,195 Z M200,245 L250,245 L250,295 L200,295 L200,245 Z M0,245 L50,245 L50,295 L0,295 L0,245 Z" id="Mouth"></path>
                </g>
            </g>
        </g>
    </g>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="rgba(255, 0, 57, 0.75)" stroke="#000" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
    <circle cx="12" cy="12" r="10" stroke="rgba(255, 0, 57, 0.75)"/>
    <line x1="15" y1="9" x2="9" y2="15" stroke="#fff" />
    <line x1="9" y1="9" x2="15" y2="15" stroke="#fff" />
</svg>

Remove opacity from del circle


<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-book-open"><path d="M2 3h6a4 4 0 0 1 4 4v14a3 3 0 0 0-3-3H2z"></path><path d="M22 3h-6a4 4 0 0 0-4 4v14a3 3 0 0 1 3-3h7z"></path></svg>


<svg xmlns="http://www.w3.org/2000/svg">
  <g transform="translate(10,10)">
    <g transform="rotate(30)">
        <g transform="translate(110, 60)">
            <ellipse rx="100" ry="50" stroke="blue" fill="none"/>
            <circle r="2" stroke="blue" fill="none"/>
        </g>
        <circle cx="64.810" cy="15.397" r="2" stroke="red" fill="none"/>
    </g>
    <line x1="40" y1="5" x2="70" y2="150" stroke="green"/>
  </g>
</svg>

Update SVG sample to match what is generated from sample

<svg xmlns="http://www.w3.org/2000/svg">
  <g transform="translate(10,10)">
    <g transform="rotate(10)">
        <g transform="translate(110, 60)">
            <ellipse rx="100" ry="50" stroke="blue" fill="none"/>
            <circle r="2" stroke="blue" fill="none"/>
        </g>
        <circle cx="49.148" cy="20.323" r="2" stroke="red" fill="none"/>
    <circle cx="84.139" cy="108.299" r="2" stroke="red" fill="none"/>
    </g>
    <line x1="40" y1="5" x2="70" y2="150" stroke="green"/>
  </g>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30" height="20"><image  xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUCAMAAACtdX32AAAABGdBTUEAALGPC/xhBQAAAAFzUkdCAK7OHOkAAAA/UExURQB7OmcCC+gKJOgAHQB1MUlJSUihds8IIQAAAP///wCIPWdDLcgAA9cAD+R5heeIk/uYpkdhXnILF3JJNke7jCh3s2IAAABTSURBVCjPpc45DoAwFANRkwDDEnbuf1aKUH7cMO2TLKsZXErWhXVhXVgX1gVAOo8urDLLPoa9TNksU9Yf7Mf9tXzdfZgA8jy1caqqr7zKq7zK6wPk+A49/rGXQwAAAABJRU5ErkJggg==" width="30" height="20"/></svg>

Use pure SVG flag for South Levantine Arabic


Add svg icon for marking required fields

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="20px" height="20px" viewBox="0 0 20 20" enable-background="new 0 0 20 20" xml:space="preserve">
<circle fill="#E94B35" cx="2" cy="18" r="2"/>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="30" height="20"><image xlink:href="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAB4AAAAUBAMAAABohZD3AAAAGFBMVEVGXtZGaduWrvzc3Nz/ZHT/b3//u8X///86poX1AAAAHElEQVQY02MQBAKmciAocw0NDQ1mGOXj5xujAgDJalJ7P5ABYAAAAABJRU5ErkJggg==" width="30" height="20"/></svg>

Replace the flag of France with a SVG

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><rect width="30" height="20" fill="#ED2939"/><rect width="20" height="20" fill="#fff"/><rect width="10" height="20" fill="#002395"/></svg>


<svg viewBox="0 0 {{ venue.seat_map_dimensions.width }} {{ venue.seat_map_dimensions.height }}"
     xmlns="http://www.wd.org/2000/svg"
     style="max-width: {{ venue.seat_map_dimensions.width }}px; max-height: {{ venue.seat_map_dimensions.height }}px; width: {{ venue.seat_map_dimensions.width }}; height: {{ venue.seat_map_dimensions.height }}">
    <rect x="{{ venue.seat_map_dimensions.stage_x }}"
          y="{{ venue.seat_map_dimensions.stage_y }}"
          width="{{ venue.seat_map_dimensions.stage_width }}"
          height="{{ venue.seat_map_dimensions.stage_height }}"
          class="stage"/>
    <text x="50%"
          y="{{ venue.seat_map_dimensions.height|add:'-10'}}"
          alignment-baseline="middle"
          text-anchor="middle"
          class="stage-text">
        Scen
    </text>

  {% for group in venue.seatinggroup_set.all %}
  {% for seat in group.seat_set.all %}
  <circle
      cx={{ seat.x_pos}}
      cy={{ seat.y_pos }}
      r="5"
      class="seat{% if seat.id in taken_seats %} taken-seat {% endif %}"
      id="seat-{{ seat.id }}"
    />
  {% endfor %}
  {% endfor %}
</svg>

Make seats slightly larger and easier to click

<svg viewBox="0 0 {{ venue.seat_map_dimensions.width }} {{ venue.seat_map_dimensions.height }}"
     xmlns="http://www.wd.org/2000/svg"
     style="max-width: {{ venue.seat_map_dimensions.width }}px; max-height: {{ venue.seat_map_dimensions.height }}px; width: {{ venue.seat_map_dimensions.width }}; height: {{ venue.seat_map_dimensions.height }}">
    <rect x="{{ venue.seat_map_dimensions.stage_x }}"
          y="{{ venue.seat_map_dimensions.stage_y }}"
          width="{{ venue.seat_map_dimensions.stage_width }}"
          height="{{ venue.seat_map_dimensions.stage_height }}"
          class="stage"/>
    <text x="50%"
          y="{{ venue.seat_map_dimensions.height|add:'-10'}}"
          alignment-baseline="middle"
          text-anchor="middle"
          class="stage-text">
        Scen
    </text>

  {% for group in venue.seatinggroup_set.all %}
  {% for seat in group.seat_set.all %}
  <circle
      cx={{ seat.x_pos}}
      cy={{ seat.y_pos }}
      r="6"
      class="seat{% if seat.id in taken_seats %} taken-seat {% endif %}"
      id="seat-{{ seat.id }}"
    />
  {% endfor %}
  {% endfor %}
</svg>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" id="svg2816" height="64px" width="64px">
  <g  id="pale-red" style="fill:none;stroke:#280000;stroke-width:8;" >
     <path d="M 16,48 48,16"  />
     <circle r="26" cy="32" cx="32" />
  </g>
  <g id="red" style="fill:none;stroke:#cc0000;stroke-width:4;">
    <circle r="26" cy="32" cx="32" />
    <path  d="M 14,50 50,14" />
  </g>
  <g id="dark" style="fill:none;stroke:#ef2929;stroke-width:1.99999988;">
    <circle  r="27" cy="32"  cx="32" />
    <path d="M 12,50 50,12" />
  </g>
</svg>

Update icon for Sketcher Constraint Block


<symbol id="man" overflow="visible">
  <circle r="4" cx="0" cy="-11" />
  <rect width="8" height="12" x="-4" y="-6" />
  <rect width="3" height="14" x="-4" y="6" />
  <rect width="3" height="14" x="1" y="6" />
  <rect width="3" height="14" x="-8" y="-6" />
  <rect width="3" height="14" x="5" y="-6" />
</symbol>

Fix for: part of entity is hidden


<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" viewBox="0 0 60 30" width="1200" height="600">
<clipPath id="t">
  <path d="M30,15 h30 v15 z v15 h-30 z h-30 v-15 z v-15 h30 z"/>
</clipPath>
<path d="M0,0 v30 h60 v-30 z" fill="#00247d"/>
<path d="M0,0 L60,30 M60,0 L0,30" stroke="#fff" stroke-width="6"/>
<path d="M0,0 L60,30 M60,0 L0,30" clip-path="url(#t)" stroke="#cf142b" stroke-width="4"/>
<path d="M30,0 v30 M0,15 h60" stroke="#fff" stroke-width="10"/>
<path d="M30,0 v30 M0,15 h60" stroke="#cf142b" stroke-width="6"/>
</svg>

Optimize Union Jack SVG with SVGO

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 60 30" width="1200" height="600">
  <clipPath id="a">
    <path d="M30 15h30v15zv15H0zH0V0zV0h30z"/>
  </clipPath>
  <path d="M0 0v30h60V0z" fill="#00247d"/>
  <path d="M0 0l60 30m0-30L0 30" stroke="#fff" stroke-width="6"/>
  <path d="M0 0l60 30m0-30L0 30" clip-path="url(#a)" stroke="#cf142b" stroke-width="4"/>
  <path d="M30 0v30M0 15h60" stroke="#fff" stroke-width="10"/>
  <path d="M30 0v30M0 15h60" stroke="#cf142b" stroke-width="6"/>
</svg>


Add icon image for hiding port of the module


<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect transform="rotate(-45)" y="17.470564" x="-16.470564" height="32.941124" width="32.941124" style="opacity:1;fill:none;fill-opacity:1;stroke:#dddddd;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /><rect style="opacity:1;fill:#dddddd;fill-opacity:1;stroke:none;stroke-width:1.99999976;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" width="8.485281" height="8.485281" x="8.4852791" y="16.970564" transform="rotate(-45)" /></svg>

Add an subtle border around subclass path indicator to improve contrast against the new Arc subclass base image.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><rect style="opacity:1;fill:#dddddd;fill-opacity:1;stroke:#000;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:0,16.970562,25.455843;stroke-opacity:0.2" width="8.485281" height="8.485281" x="8.4852791" y="16.970564" transform="rotate(-45)" /><rect transform="rotate(-45)" y="17.470564" x="-16.470564" height="32.941124" width="32.941124" style="opacity:1;fill:none;fill-opacity:1;stroke:#dddddd;stroke-width:1;stroke-miterlimit:4;stroke-dasharray:none;stroke-opacity:1" /></svg>


<!--
  Open Source Badge - Show your love for Open Source
  https://github.com/ellerbrock/open-source-badge
-->
<svg xmlns="http://www.w3.org/2000/svg" width="120" height="20">
  <linearGradient id="m1" x2="0" y2="100%">
    <stop offset="0" stop-color="#bbb" stop-opacity=".1"/>
    <stop offset="1" stop-opacity=".1"/>
  </linearGradient>
  <g mask="url(#m1)">
    <rect x="0" y="0"  width="95" height="20" rx="4" ry="4"  style="fill:#555"/>
    <rect x="90" y="0" width="25" height="20" style="fill:#46BC99"/>
    <rect x="110" y="0" width="10" height="20" rx="4" ry="4" style="fill:#46BC99"/>
    <path fill="url(#m1)" d="M0 0h120v20H0z"/>
  </g>
  <g font-family="DejaVu Sans,Verdana,Geneva,sans-serif">
    <g font-size="12" fill="#fff">
      <text x="5" y="15" fill="#DDD" fill-opacity=".4">Open Source</text>
      <text x="5" y="14">Open Source</text>
    </g>
    <g font-size="18" fill="red">
      <text x="97" y="16" stroke="white" stroke-width="1">❤</text>
    </g>
  </g>
</svg>


Add a test for a crash in filter color conversion

<!-- Test taken from the resvg test suite:

     The MIT License (MIT)

     Copyright (c) 2018 Reizner Evgeniy

     Permission is hereby granted, free of charge, to any person obtaining a copy
     of this software and associated documentation files (the "Software"), to deal
     in the Software without restriction, including without limitation the rights
     to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
     copies of the Software, and to permit persons to whom the Software is
     furnished to do so, subject to the following conditions:

     The above copyright notice and this permission notice shall be included in all
     copies or substantial portions of the Software.

     THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
     IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
     FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
     AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
     LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
     OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
     SOFTWARE. -->
<svg id="svg1" viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
    <title>color-interpolation-filters=sRGB</title>

    <filter id="filter1" filterUnits="userSpaceOnUse" width="200" height="200">
        <feGaussianBlur in="SourceGraphic" stdDeviation="1"
                        color-interpolation-filters="sRGB" result="blur1"/>

        <feGaussianBlur in="SourceGraphic" stdDeviation="1"
                        color-interpolation-filters="linearRGB"/>
        <feOffset dx="40" dy="40" result="blur2"/>

        <feMerge color-interpolation-filters="sRGB">
            <feMergeNode in="blur1"/>
            <feMergeNode in="blur2"/>
        </feMerge>
    </filter>
    <g id="g1" filter="url(#filter1)">
        <rect id="rect1" x="40" y="40" width="40" height="40" fill="yellow"/>
        <rect id="rect2" x="60" y="60" width="40" height="40" fill="blue"/>
    </g>

    <!-- image frame -->
    <rect id="frame" x="1" y="1" width="198" height="198" fill="none" stroke="black"/>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="go()">
<script xlink:href="innersvg.js"/>

<text x="20" y="20">
  You should see a green circle and the word PASS below
</text>

<g id="g">
  <rect id="r" y="100" width="200" height="100" fill="red"/>
</g>

<text id="t" x="200" y="100">
  FAIL
</text>

<script><![CDATA[
  function go() {
    document.getElementById("g").innerHTML = "<circle cx='50' cy='100' r='40' fill='green'/>";
    document.getElementById("t").innerSVG = "PASS";
  }
]]></script>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="532" height="532" viewBox="0 0 512 512">
    <circle cx="255" cy="255" r="230" fill="{c}" />
    <text x="255" y="246" alignment-baseline="central" text-anchor="middle" fill="#fff" font-size="275" font-weight="100" font-family="Roboto">{x}</text>
</svg>

Set font-weight to 300 for Roboto-Light (albeit having no affect)

<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" width="532" height="532" viewBox="0 0 512 512">
    <circle cx="255" cy="255" r="230" fill="{c}" />
    <text x="255" y="246" alignment-baseline="central" text-anchor="middle" fill="#fff" font-size="275" font-weight="300" font-family="Roboto">{x}</text>
</svg>


<svg xmlns="http://www.w3.org/2000/svg">
    <metadata>
        <sfw>
            <slices></slices>
            <sliceSourceBounds height="67.3" width="85.9" y="-40.8" x="-42.5" bottomLeftOrigin="true"></sliceSourceBounds>
        </sfw>
    </metadata>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg">
    <metadata>
        <sfw>
            <slices/>
            <sliceSourceBounds height="67.3" width="85.9" y="-40.8" x="-42.5" bottomLeftOrigin="true"/>
        </sfw>
    </metadata>
</svg>

Add some permitted and not permitted elements to the unknown element test

<svg xmlns="http://www.w3.org/2000/svg">
    <metadata>
        <sfw>
            <slices></slices>
            <sliceSourceBounds height="67.3" width="85.9" y="-40.8" x="-42.5" bottomLeftOrigin="true"></sliceSourceBounds>
        </sfw>
        <ellipse/>
    </metadata>
    <ellipse>
        <font-face/>
    </ellipse>
</svg>

@@@

<svg xmlns="http://www.w3.org/2000/svg">
    <metadata>
        <ellipse/>
    </metadata>
    <ellipse/>
</svg>


Add a small blue arrow icon for the `Read more` link


<svg xmlns="https://www.w3.org/2000/svg" width="600" height="600">
  <path fill="#d13e32" d="M0 0h600v600H0z"/>
  <path fill="#fff" d="M0 0h400v600H0z"/>
  <path fill="#3a649d" d="M0 0h200v600H0z"/>
</svg>

Update SVG logo which was broken


<!-- By Sam Herbert (@sherb), for everyone. More @ http://goo.gl/7AJzbL -->
<svg width="120" height="30" viewBox="0 0 120 30" xmlns="http://www.w3.org/2000/svg" fill="#999">
    <circle cx="15" cy="15" r="15">
        <animate attributeName="r" from="15" to="15"
                 begin="0s" dur="0.8s"
                 values="15;9;15" calcMode="linear"
                 repeatCount="indefinite" />
        <animate attributeName="fill-opacity" from="1" to="1"
                 begin="0s" dur="0.8s"
                 values="1;.5;1" calcMode="linear"
                 repeatCount="indefinite" />
    </circle>
    <circle cx="60" cy="15" r="9" fill-opacity="0.3">
        <animate attributeName="r" from="9" to="9"
                 begin="0s" dur="0.8s"
                 values="9;15;9" calcMode="linear"
                 repeatCount="indefinite" />
        <animate attributeName="fill-opacity" from="0.5" to="0.5"
                 begin="0s" dur="0.8s"
                 values=".5;1;.5" calcMode="linear"
                 repeatCount="indefinite" />
    </circle>
    <circle cx="105" cy="15" r="15">
        <animate attributeName="r" from="15" to="15"
                 begin="0s" dur="0.8s"
                 values="15;9;15" calcMode="linear"
                 repeatCount="indefinite" />
        <animate attributeName="fill-opacity" from="1" to="1"
                 begin="0s" dur="0.8s"
                 values="1;.5;1" calcMode="linear"
                 repeatCount="indefinite" />
    </circle>
</svg>


<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Camada_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 866 504" style="enable-background:new 0 0 866 504;" xml:space="preserve">
<style type="text/css">
	.st0{filter:url(#Adobe_OpacityMaskFilter);}
	.st1{fill:#FFFFFF;}
	.st2{mask:url(#mask-4);}
	.st3{fill:#FCF6EF;stroke:#FBF6EF;stroke-width:10;}
</style>
<title>certificado</title>
<desc>Created with Sketch.</desc>
<g id="Page-1">
	<g id="certificado">
		<defs>
			<filter id="Adobe_OpacityMaskFilter" filterUnits="userSpaceOnUse" x="-5" y="-5" width="876" height="514">
				<feColorMatrix  type="matrix" values="1 0 0 0 0  0 1 0 0 0  0 0 1 0 0  0 0 0 1 0"/>
			</filter>
		</defs>
		<mask maskUnits="userSpaceOnUse" x="-5" y="-5" width="876" height="514" id="mask-4">
			<g class="st0">
				<rect id="path-2" class="st1" width="866" height="504"/>
			</g>
			<g>
				<rect id="path-2_1_" class="st1" width="866" height="504"/>
			</g>
			<g>
				<rect id="path-2_2_" class="st1" width="866" height="504"/>
			</g>
			<g>
				<rect id="path-2_3_" class="st1" width="866" height="504"/>
			</g>
		</mask>
		<g id="Rectangle-3-Copy-7" class="st2">
			<g>
				<rect id="path-2_5_" class="st3" width="866" height="504"/>
			</g>
		</g>
	</g>
</g>
</svg>


<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="1024px" height="768px" viewBox="0 0 1024 768" enable-background="new 0 0 1024 768" xml:space="preserve">
<g>
	<path d="M327.68,599.04l190.463-169.574L708.608,599.04V24.576H327.68V599.04z M696.32,36.864v534.527 M339.968,571.392"/>
</g>
</svg>

Change color of bookmark image

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 16.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="1024px" height="768px" viewBox="0 0 1024 768" enable-background="new 0 0 1024 768" xml:space="preserve">
<g>
	<path fill="#73cb9a" d="M327.68,599.04l190.463-169.574L708.608,599.04V24.576H327.68V599.04z M696.32,36.864v534.527 M339.968,571.392"/>
</g>
</svg>


<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24">
    <g id="graph">
        <path id="axes" d="M5 6v12h14v-1H6V6H5z"/>
        <path id="data" d="M7 16v-3l4-3 3 2 4-4v8H7"/>
    </g>
</svg>

Update icons for new 20px grid

<?xml version="1.0" encoding="utf-8"?>
<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20" viewBox="2 2 20 20">
    <g id="graph">
        <path id="axes" d="M5 6v12h14v-1H6V6H5z"/>
        <path id="data" d="M7 16v-3l4-3 3 2 4-4v8H7"/>
    </g>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" width="95" height="20"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-opacity=".3"/><stop offset="1" stop-opacity=".5"/></linearGradient><rect rx="4" width="95" height="20" fill="#555"/><rect rx="4" x="37" width="58" height="20" fill="#dfb317"/><path fill="#dfb317" d="M37 0h4v18h-4z"/><rect rx="4" width="95" height="20" fill="url(#a)"/><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="19.5" y="15" fill="#010101" fill-opacity=".3">build</text><text x="19.5" y="14">build</text><text x="65" y="15" fill="#010101" fill-opacity=".3">unstable</text><text x="65" y="14">unstable</text></g></svg>

Fix yellow radius on the bottom

<svg xmlns="http://www.w3.org/2000/svg" width="95" height="20"><linearGradient id="a" x2="0" y2="100%"><stop offset="0" stop-color="#fff" stop-opacity=".7"/><stop offset=".1" stop-color="#aaa" stop-opacity=".1"/><stop offset=".9" stop-opacity=".3"/><stop offset="1" stop-opacity=".5"/></linearGradient><rect rx="4" width="95" height="20" fill="#555"/><rect rx="4" x="37" width="58" height="20" fill="#dfb317"/><path fill="#dfb317" d="M37 0h4v20h-4z"/><rect rx="4" width="95" height="20" fill="url(#a)"/><g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11"><text x="19.5" y="15" fill="#010101" fill-opacity=".3">build</text><text x="19.5" y="14">build</text><text x="65" y="15" fill="#010101" fill-opacity=".3">unstable</text><text x="65" y="14">unstable</text></g></svg>


Add icon image for port select of the module


<svg class="svg-check svg-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><g fill="#00ff00" stroke-width="1.25" stroke="#000"><polyline points="3.7,9.8 8.9,16 16.3,4"></polyline></g></svg>

Update green check to use stroke and not fill.

<svg class="svg-check svg-icon" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 20 20"><g fill="none" stroke-width="1.25" stroke="#00a550"><polyline points="3.7,9.8 8.9,16 16.3,4"></polyline></g></svg>


<svg xmlns="http://www.w3.org/2000/svg" onload="load()">
This test passes if it doesn't crash when run under gmalloc.
<rect x="10" y="10" width="100" height="100" fill="green"/>
<text x="50" y="50" id="log"/>
<script>
<![CDATA[
function log(message) {
    var logDiv = document.getElementById('log');
    logDiv.appendChild(document.createTextNode(message));
}

function load() {
    if (window.testRunner && window.GCController && window.internals)
        testRunner.dumpAsText();
    else {
        log("This test only works when run with the testRunner, GCController, and internals available.");
        return;
    }

    var rect = document.getElementsByTagName("rect")[0];
    var baseValReference = rect.x.baseVal;

    // Collect garbage before recording starting live node count, in case there are live elements from previous tests.
    GCController.collect();
    // FIXME(crbug.com/307614): one call to GCController.collect() should be enough.
    GCController.collect();
    var originalLiveElements = window.internals.numberOfLiveNodes();

    rect.parentNode.removeChild(rect);
    rect = 0;

    GCController.collect();

    // The rest of this test should FAIL without requiring gmalloc if this test has regressed.
    var liveDelta = window.internals.numberOfLiveNodes() - originalLiveElements;

    // Make sure that the <rect> is still alive; if it's not, liveDelta will be -1.
    if (liveDelta == 0)
        log(" PASS");
    else
        log(" FAIL: " + liveDelta + " extra live node(s)");

    // This line will crash with gmalloc if this test has regressed.
    log(" x = " + baseValReference.value);
}
]]>
</script>
</svg>

Remove introspection on GC behavior from SVG tearoff regression test

<svg xmlns="http://www.w3.org/2000/svg" onload="load()">
This test passes if it doesn't crash when run under gmalloc.
<rect x="10" y="10" width="100" height="100" fill="green"/>
<text x="50" y="50" id="log"/>
<script>
<![CDATA[
function log(message) {
    var logDiv = document.getElementById('log');
    logDiv.appendChild(document.createTextNode(message));
}

function load() {
    if (window.testRunner && window.GCController && window.internals)
        testRunner.dumpAsText();
    else {
        log("This test only works when run with the testRunner, GCController, and internals available.");
        return;
    }

    var rect = document.getElementsByTagName("rect")[0];
    var baseValReference = rect.x.baseVal;

    rect.parentNode.removeChild(rect);
    rect = null;

    GCController.collect();

    // This line will crash with gmalloc if this test has regressed.
    log("PASS x = " + baseValReference.value);
}
]]>
</script>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" width="30" height="20"><rect width="30" height="20" fill="#ED2939"/><rect width="20" height="20" fill="#fff"/><rect width="10" height="20" fill="#002395"/></svg>

Revert "Replace the flag of France with a SVG"


<svg version="1.1" width="75%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 width="1700.79px" height="11px" viewBox="0 0 1700.79 11" enable-background="new 0 0 1700.79 11"
	 xml:space="preserve">
<rect y="0" fill="none" width="1700.79" height="11"/>
</svg>

Make svg a sensible width

<svg version="1.1" width="75%" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
  width="100px" height="11px" viewBox="0 0 100 11" enable-background="new 0 0 100 11"
  xml:space="preserve">
<rect y="0" fill="none" width="100" height="11"/>
</svg>


Add plus/minus SVG icon for the accordion


<svg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg">
  <circle cx="100" cy="100" r="100" />
</svg>;

Fix svg mangled by prettier


<svg viewBox="0 0 1000 300"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
	 <style><![CDATA[@font-face{font-family:F8;src:url("fond/LibreBarcode39Extended/LibreBarcode39Extended-Regular.ttf");}]]></style>

  <defs>
    <path id="MyPath"
          d="M400,100a100,100 0 1,0 200,0a100,100 0 1,0 -200,0"/>
  </defs>

  <use xlink:href="#MyPath" fill="none" stroke="red"  />

  <g>

	<animateTransform attributeName="transform" attributeType="XML"
                    type="rotate" from="1 500 100" to="50 500 100" dur="10s"
                    additive="replace" fill="freeze"/>
  <text font-family="F8" font-size="42.5">
    <textPath xlink:href="#MyPath">
      We go up, then we go down, then up again
    </textPath>
  </text>
  </g>
  <!-- Show outline of the viewport using 'rect' element -->
  <rect x="1" y="1" width="998" height="298"
        fill="none" stroke="black" stroke-width="2" />
</svg>

Update text rotation about a circle.

<svg viewBox="0 0 1000 300"
     xmlns="http://www.w3.org/2000/svg"
     xmlns:xlink="http://www.w3.org/1999/xlink">
	 <style><![CDATA[@font-face{font-family:F8;src:url("fond/LibreBarcode39Extended/LibreBarcode39Extended-Regular.ttf");}]]></style>

  <defs>
    <path id="MyPath"
          d="M400,100a100,100 0 1,0 200,0a100,100 0 1,0 -200,0"/>
  </defs>

  <use xlink:href="#MyPath" fill="none" stroke="red"  />

  <g>

	<animateTransform attributeName="transform" attributeType="XML"
                    type="rotate" from="1 500 100" to="360 500 100" dur="5s" repeatCount="indefinite"
                    additive="replace" fill="freeze"/>
  <text font-family="F8" font-size="42.5">
    <textPath xlink:href="#MyPath">
      We go up, then we go down, then up again
    </textPath>
  </text>
  </g>
  <!-- Show outline of the viewport using 'rect' element -->
  <rect x="1" y="1" width="998" height="298"
        fill="none" stroke="black" stroke-width="2" />
</svg>


<svg xmlns="http://www.w3.org/2000/svg" baseProfile="full"
    width="100" height="100" version="1.1">
   <defs>
     <linearGradient id="shine" x1="0" x2="1" y1=".75" y2="0">
      <stop offset="0%" stop-color="dimgray"/>
      <stop offset="85%" stop-color="gainsboro"/>
      <stop offset="100%" stop-color="slategray"/>
     </linearGradient>
   </defs>
   <path d="M4 16 l20 20 l12 -12 l-20 -20 z" fill="url(#shine)" stroke="black" stroke-width="4"/>
   <path d="M30 4 L4 30 L30 60 L60 30 z" fill="url(#shine)" stroke="black" stroke-width="4"/>
   <path d="
        M20 35
        a25 25 50 0 0 50 50
        l-10 -10
        a20 20 50 0 1 -30 -30
        z" fill="url(#shine)" stroke="black" stroke-width="4"/>
   <path d="
        M35 20
        a25 25 50 0 1 50 50
        l-10 -10
        a20 20 50 0 0 -30 -30
        z" fill="url(#shine)" stroke="black" stroke-width="4"/>
</svg>


Add vector graphic for "show more" indicator


Add one svg image containing the whole icon set

<?xml version="1.0" encoding="UTF-8" standalone="no"?>

<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve"
     xmlns:xlink="http://www.w3.org/1999/xlink"
     x="0px" y="0px" width="384px" height="168px"
     id="icon" version="1.1">

  <rect x="0" y="0" width="384" height="168" fill="#ffffcc" stroke="#cccccc" stroke-width="1"/>

  <use x="24" y="24" xlink:href="message.svg#icon"/>
  <use x="96" y="24" xlink:href="information.svg#icon"/>
  <use x="168" y="24" xlink:href="warning.svg#icon"/>
  <use x="240" y="24" xlink:href="error.svg#icon"/>
  <use x="312" y="24" xlink:href="confirmation.svg#icon"/>

  <use x="24" y="96" xlink:href="question.svg#icon"/>
  <use x="96" y="96" xlink:href="password.svg#icon"/>
  <use x="168" y="96" xlink:href="login.svg#icon"/>
  <use x="240" y="96" xlink:href="exception.svg#icon"/>
  <use x="312" y="96" xlink:href="time.svg#icon"/>

</svg>


<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 18.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px" viewBox="0 0 30 20" enable-background="new 0 0 30 20" xml:space="preserve">
<g id="Layer_1">
</g>
<g id="Layer_2">
	<g>
		<polygon fill="#646F93" points="14.90 10.80, 21.80 5.60, 23.70 8.20, 14.90 14.80, 6.40 8.20, 8.30 5.60, 14.90 10.80"/>
	</g>
</g>
</svg>

Fix svg that wasn't compiling into the font well.

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.1.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 24 24" enable-background="new 0 0 24 24" xml:space="preserve">
<g id="Layer_2">
	<g>
		<polygon fill="#656F93" points="11.9,12.8 18.8,7.6 20.7,10.2 11.9,16.8 3.4,10.2 5.3,7.6 		"/>
	</g>
</g>
</svg>


<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" height="48px" width="48px">
    <g inkscape:groupmode="layer" id="layer1">
        <path transform="matrix(1.197183,0,0,1.098591,-6.201582,-3.209507)" d="M 39.875 42.0625 A 13.8125 4.4375 0 1 1  12.25,42.0625 A 13.8125 4.4375 0 1 1  39.875 42.0625 z"/>
    </g>
    <script id="run">
        if (window.svgFilter) {
            var g = document.createElement('g');
            g.setAttribute('id', svgFilter.injectId);
            document.documentElement.appendChild(g);
        }
    </script>
</svg>

Add missing xmlns:inkscape declaration in test data file

<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<svg xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:cc="http://creativecommons.org/ns#" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:svg="http://www.w3.org/2000/svg" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" height="48px" width="48px">
    <g inkscape:groupmode="layer" id="layer1">
        <path transform="matrix(1.197183,0,0,1.098591,-6.201582,-3.209507)" d="M 39.875 42.0625 A 13.8125 4.4375 0 1 1  12.25,42.0625 A 13.8125 4.4375 0 1 1  39.875 42.0625 z"/>
    </g>
    <script id="run">
        if (window.svgFilter) {
            var g = document.createElement('g');
            g.setAttribute('id', svgFilter.injectId);
            document.documentElement.appendChild(g);
        }
    </script>
</svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" style="  ; ;;property1:   value1 ;   ;; property2   :value2; property3 : value3 ;;; ;"></svg>

Throw some line breaks in there...

<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" style="  ; ;;property1:

 value1 ; 	 ;; property2   :value2; property3 : value3 ;	;

 ; ;"></svg>


Create SVG file with rectangle for checking behaviour

<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo' x='10' y='10' width='10' height='10' style='fill:black; stroke:white; stroke-width:3;' />
</svg>


<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="8" rx=".000017" stroke="#e0e0e0" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" width="12" x="2" y="4"/></svg>

Revert "fix(editor): TileMap Fill Rectangle icon"

<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><rect fill="none" height="8" rx=".000017" stroke="#68b6ff" stroke-linejoin="round" stroke-miterlimit="10" stroke-width="2" width="12" x="2" y="4"/></svg>


<svg height="16" viewBox="0 0 16 16" width="16" xmlns="http://www.w3.org/2000/svg"><g fill="none" stroke="#e0e0e0" stroke-linejoin="round" stroke-width="2"><path d="m8 1v9l4-4"/><path d="m8 10-4-4"/><path d="m2 10v4h12v-4" stroke-linecap="round"/></g></svg>


<?xml version="1.0"?>
<svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" onload="go()">
<script xlink:href="innersvg.js"/>

<text x="20" y="20">
  You should see a green circle and the word PASS below
</text>

<g id="g">
  <rect id="r" y="100" width="200" height="100" fill="red"/>
</g>

<text id="t" x="200" y="100">
  FAIL
</text>

<script><![CDATA[
  function go() {
    document.getElementById("g").innerHTML = "<circle cx='50' cy='100' r='40' fill='green'/>";
    document.getElementById("t").innerSVG = "PASS";
  }
]]></script>
</svg>


<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.96 4.46"><title>new-changelog-badge-bottom-corner</title><path d="M3,3V0H1.88c0,0.95,0,4.16-1.84,4.12,1.84,0.77,3.09,0,6,0V3H3Z" transform="translate(-0.04)" style="fill:#83ad18"/></svg>

Fix colour of New Changelog Badge callout

<svg id="Layer_1" data-name="Layer 1" xmlns="http://www.w3.org/2000/svg" viewBox="0 0 5.96 4.46"><title>new-changelog-badge-bottom-corner</title><path d="M3,3V0H1.88c0,0.95,0,4.16-1.84,4.12,1.84,0.77,3.09,0,6,0V3H3Z" transform="translate(-0.04)" style="fill:#14CC80"/></svg>


<?xml version="1.0" encoding="utf-8" standalone="yes"?>
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
<svg xmlns="http://www.w3.org/2000/svg" version="1.1" width="1200" height="600">
<rect width="1200" height="600" fill="#ED2939"/>
<rect width="800" height="600" fill="#FFF"/>
<rect width="400" height="600" fill="#002395"/>
</svg>


<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo-north' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
  <rect id='logo-west' x='4' y='4' width='12' height='72' style='fill:orange; stroke:white; stroke-width:4;' />
</svg>

Add temporary new game image

<svg xmlns='http://www.w3.org/2000/svg'>
  <rect id='logo-north-image' x='4' y='4' width='72' height='12' style='fill:orange; stroke:white; stroke-width:4;' />
  <rect id='logo-west-image' x='4' y='4' width='12' height='72' style='fill:orange; stroke:white; stroke-width:4;' />
  <svg id='new-game-image'>
    <circle cx='50' cy='50' r='40' stroke='green' stroke-width='10' fill='blue' />
  </svg>
</svg>


<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-chip" cx="0" cy="0" r="6" stroke-width="1" />
    <use id="c4-blue-chip" xlink:href="#c4-chip" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-chip" fill="#c33" stroke="#900" />
  </defs>
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>

Add rounded rectangle background to app icon

<svg viewBox="0 0 32 32" width="192" height="192" xmlns="http://www.w3.org/2000/svg"  xmlns:xlink="http://www.w3.org/1999/xlink">
  <defs>
    <circle id="c4-chip" cx="0" cy="0" r="6" stroke-width="1" />
    <use id="c4-blue-chip" xlink:href="#c4-chip" fill="#36c" stroke="#149" />
    <use id="c4-red-chip" xlink:href="#c4-chip" fill="#c33" stroke="#900" />
  </defs>
  <rect x="0" y="0" width="100%" height="100%" fill="#fff" rx="3" ry="3" />
  <use xlink:href="#c4-red-chip" x="8" y="8" />
  <use xlink:href="#c4-blue-chip" x="8" y="24" />
  <use xlink:href="#c4-red-chip" x="24" y="24" />
</svg>


Add test with a shape that exceeds the view bounds.

<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 512 512">
	<desc>Test a shape that is partially outside the view bounds</desc>
	<path d="M0 0h512v512H0z" fill="black"/>
	<path d="
	M256,-150 L600,350 l-700,250z
	"
	fill="white"/>
</svg>


<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 21.0.0, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 32 32" style="enable-background:new 0 0 32 32;" xml:space="preserve">
<style type="text/css">
	.st0{fill:#1FABE2;}
	.st1{fill-rule:evenodd;clip-rule:evenodd;fill:#1FABE2;}
</style>
<g id="Ellipse_1" class="st0">
	<g>
		<circle class="st1" cx="16.5" cy="16.5" r="5.5"/>
	</g>
</g>
</svg>


<svg width="12cm" height="3.5cm" viewBox="0 0 1200 350"
     xmlns="http://www.w3.org/2000/svg" version="1.1">
  <desc>Example opacity01 - opacity property</desc>

  <rect x="1" y="1" width="1198" height="348"
        fill="none" stroke="blue" />

  <!-- Background blue rectangle -->
  <rect x="100" y="100" width="1000" height="150" fill="#0000ff"  />

  <!-- Red circles going from opaque to nearly transparent -->
  <circle cx="200" cy="100" r="50" fill="red" opacity="1"  />
  <circle cx="400" cy="100" r="50" fill="red" opacity=".8"  />
  <circle cx="600" cy="100" r="50" fill="red" opacity=".6"  />
  <circle cx="800" cy="100" r="50" fill="red" opacity=".4"  />
  <circle cx="1000" cy="100" r="50" fill="red" opacity=".2"  />

  <!-- Opaque group, opaque circles -->
  <g opacity="1" >
    <circle cx="182.5" cy="250" r="50" fill="red" opacity="1"  />
    <circle cx="217.5" cy="250" r="50" fill="green" opacity="1"  />
  </g>
  <!-- Group opacity: .5, opacity circles -->
  <g opacity=".5" >
    <circle cx="382.5" cy="250" r="50" fill="red" opacity="1"  />
    <circle cx="417.5" cy="250" r="50" fill="green" opacity="1"  />
  </g>
  <!-- Opaque group, semi-transparent green over red -->
  <g opacity="1" >
    <circle cx="582.5" cy="250" r="50" fill="red" opacity=".5"  />
    <circle cx="617.5" cy="250" r="50" fill="green" opacity=".5"  />
  </g>
  <!-- Opaque group, semi-transparent red over green -->
  <g opacity="1" >
    <circle cx="817.5" cy="250" r="50" fill="green" opacity=".5"  />
    <circle cx="782.5" cy="250" r="50" fill="red" opacity=".5"  />
  </g>
  <!-- Group opacity .5, semi-transparent green over red -->
  <g opacity=".5" >
    <circle cx="982.5" cy="250" r="50" fill="red" opacity=".5"  />
    <circle cx="1017.5" cy="250" r="50" fill="green" opacity=".5"  />
  </g>
</svg>


Add failing test case for prefixIDs plugin

<svg width="340" height="120" xmlns="http://www.w3.org/2000/svg">
    <defs>
        <linearGradient id="gradient_1">
            <stop offset="5%" stop-color="green"/>
            <stop offset="95%" stop-color="gold"/>
        </linearGradient>
        <linearGradient id="gradient_2">
            <stop offset="5%" stop-color="red"/>
            <stop offset="95%" stop-color="black"/>
        </linearGradient>
        <linearGradient id="gradient_3">
            <stop offset="5%" stop-color="blue"/>
            <stop offset="95%" stop-color="orange"/>
        </linearGradient>
    </defs>
    <rect fill="url(#gradient_1)" x="10" y="10" width="100" height="100"/>
    <rect fill="url(#gradient_2)" x="120" y="10" width="100" height="100"/>
    <rect fill="url(#gradient_3)" x="230" y="10" width="100" height="100"/>
</svg>

@@@

<svg width="340" height="120" xmlns="http://www.w3.org/2000/svg">
    <defs>
        <linearGradient id="prefixIds_05_svg__gradient_1">
            <stop offset="5%" stop-color="green"/>
            <stop offset="95%" stop-color="gold"/>
        </linearGradient>
        <linearGradient id="prefixIds_05_svg__gradient_2">
            <stop offset="5%" stop-color="red"/>
            <stop offset="95%" stop-color="black"/>
        </linearGradient>
        <linearGradient id="prefixIds_05_svg__gradient_3">
            <stop offset="5%" stop-color="blue"/>
            <stop offset="95%" stop-color="orange"/>
        </linearGradient>
    </defs>
    <rect fill="url(#prefixIds_05_svg__gradient_1)" x="10" y="10" width="100" height="100"/>
    <rect fill="url(#prefixIds_05_svg__gradient_2)" x="120" y="10" width="100" height="100"/>
    <rect fill="url(#prefixIds_05_svg__gradient_3)" x="230" y="10" width="100" height="100"/>
</svg>


Add an icon for language in the schedule


<svg fill="#000000" height="18" viewBox="0 0 24 24" width="18" xmlns="http://www.w3.org/2000/svg">
    <path d="M7 10l5 5 5-5z"/>
    <path d="M0 0h24v24H0z" fill="none"/>
</svg>

Fix light theme caret down icon svg.

<?xml version="1.0" encoding="utf-8"?>
<!-- Generator: Adobe Illustrator 19.2.1, SVG Export Plug-In . SVG Version: 6.00 Build 0)  -->
<svg version="1.1" id="Layer_1" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" x="0px" y="0px"
	 viewBox="0 0 18 18" style="enable-background:new 0 0 18 18;" xml:space="preserve">
<style type="text/css">
	.st0{fill:none;}
</style>
<path d="M5.2,7.5L9,11.2l3.8-3.8H5.2z"/>
<path class="st0" d="M0,0h18v18H0V0z"/>
</svg>


<svg xmlns="http://www.w3.org/2000/svg" width="{{=it.widths[0]+it.widths[1]}}" height="20">
  <rect width="{{=it.widths[0]+it.widths[1]}}" height="20" fill="{{=it.escapeXml(it.colorA||"#555")}}"/>
  <rect x="{{=it.widths[0]}}" width="{{=it.widths[1]}}" height="20" fill="{{=it.escapeXml(it.colorB||"#4c1")}}"/>
  <rect x="{{=it.widths[0]}}" width="4" height="20" fill="{{=it.escapeXml(it.colorB||"#4c1")}}"/>
  <rect width="{{=it.widths[0]+it.widths[1]}}" height="20" fill-opacity=".1"/>
  <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
    <text x="{{=it.widths[0]/2+1}}" y="14">{{=it.escapeXml(it.text[0])}}</text>
    <text x="{{=it.widths[0]+it.widths[1]/2-1}}" y="14">{{=it.escapeXml(it.text[1])}}</text>
  </g>
</svg>

Update flat-square template for better color matching

<svg xmlns="http://www.w3.org/2000/svg" width="{{=it.widths[0]+it.widths[1]}}" height="20">
  <g shape-rendering="crispEdges">
    <rect width="{{=it.widths[0]}}" height="20" fill="{{=it.escapeXml(it.colorA||"#555")}}"/>
    <rect x="{{=it.widths[0]}}" width="{{=it.widths[1]}}" height="20" fill="{{=it.escapeXml(it.colorB||"#4c1")}}"/>
  </g>
  <g fill="#fff" text-anchor="middle" font-family="DejaVu Sans,Verdana,Geneva,sans-serif" font-size="11">
    <text x="{{=it.widths[0]/2+1}}" y="14">{{=it.escapeXml(it.text[0])}}</text>
    <text x="{{=it.widths[0]+it.widths[1]/2-1}}" y="14">{{=it.escapeXml(it.text[1])}}</text>
  </g>
</svg>


when defined(js):
  import sugar

  include karax/prelude
  import karax/[vstyles]
  import karaxutils

  import threadlist
  type
    UserMenu* = ref object
      shown: bool
      user: User
      onLogout: proc ()

  proc newUserMenu*(onLogout: proc ()): UserMenu =
    UserMenu(
      shown: false,
      onLogout: onLogout
    )

  proc render*(state: UserMenu, user: User): VNode =
    result = buildHtml():
      tdiv():
        figure(class="avatar c-hand",
               onClick=(e: Event, n: VNode) => (state.shown = true)):
          img(src=user.avatarUrl, title=user.name)
          if user.isOnline:
            italic(class="avatar-presense online")

        ul(class="menu menu-right", style=style(
          StyleAttr.display, if state.shown: "inherit" else: "none"
        )):
          li(class="menu-item"):
            tdiv(class="tile tile-centered"):
              tdiv(class="tile-icon"):
                img(class="avatar", src=user.avatarUrl,
                    title=user.name)
              tdiv(class="tile-content"):
                text user.name
          li(class="divider")
          li(class="menu-item"):
            a(href=makeUri("/profile/" & user.name)):
              text "My profile"
          li(class="menu-item c-hand"):
            a(onClick = (e: Event, n: VNode) =>
                (state.shown=false; state.onLogout())):
              text "Logout"

Allow toggling of menu by clicking on the user icon.

when defined(js):
  import sugar

  include karax/prelude
  import karax/[vstyles]
  import karaxutils

  import threadlist
  type
    UserMenu* = ref object
      shown: bool
      user: User
      onLogout: proc ()

  proc newUserMenu*(onLogout: proc ()): UserMenu =
    UserMenu(
      shown: false,
      onLogout: onLogout
    )

  proc render*(state: UserMenu, user: User): VNode =
    result = buildHtml():
      tdiv():
        figure(class="avatar c-hand",
               onClick=(e: Event, n: VNode) => (state.shown = not state.shown)):
          img(src=user.avatarUrl, title=user.name)
          if user.isOnline:
            italic(class="avatar-presense online")

        ul(class="menu menu-right", style=style(
          StyleAttr.display, if state.shown: "inherit" else: "none"
        )):
          li(class="menu-item"):
            tdiv(class="tile tile-centered"):
              tdiv(class="tile-icon"):
                img(class="avatar", src=user.avatarUrl,
                    title=user.name)
              tdiv(class="tile-content"):
                text user.name
          li(class="divider")
          li(class="menu-item"):
            a(href=makeUri("/profile/" & user.name)):
              text "My profile"
          li(class="menu-item c-hand"):
            a(onClick = (e: Event, n: VNode) =>
                (state.shown=false; state.onLogout())):
              text "Logout"


import nake
import os

when defined(windows):
    let afterEffectsScripts = "C:/Program Files/Adobe/Adobe After Effects CC 2015.3/Support Files/Scripts"
else:
    let afterEffectsScripts = "/Applications/Adobe After Effects CC 2015/Scripts"

task defaultTask, "Build and install":
    direShell nimExe, "js", "--warning[LockLevel]:off", "rod_export.nim"
    direShell nimExe, "js", "--warning[LockLevel]:off", "convert_to_null.nim"
    copyFile("nimcache/rod_export.js", afterEffectsScripts / "ScriptUI Panels/rod_export.jsx")
    copyFile("nimcache/convert_to_null.js", afterEffectsScripts / "ScriptUI Panels/convert_to_null.jsx")

Use search paths for after effects

import nake
import os

proc aeScriptsFolder(): string =
    when defined(windows):
        const searchPaths = [
            "C:/Program Files/Adobe/Adobe After Effects CC 2015.3/Support Files/Scripts"
        ]
    else:
        const searchPaths = [
            "/Applications/Adobe After Effects CC 2015/Scripts",
            "/Applications/Adobe After Effects CC 2017/Scripts"
        ]
    for p in searchPaths:
        if dirExists(p):
            return p

    raise newException(Exception, "Adobe After Effects not found")

task defaultTask, "Build and install":
    direShell nimExe, "js", "--warning[LockLevel]:off", "rod_export.nim"
    direShell nimExe, "js", "--warning[LockLevel]:off", "convert_to_null.nim"
    let scripts = aeScriptsFolder()
    copyFile("nimcache/rod_export.js", scripts / "ScriptUI Panels/rod_export.jsx")
    copyFile("nimcache/convert_to_null.js", scripts / "ScriptUI Panels/convert_to_null.jsx")


import jester, strtabs, json, asyncio, sockets

get "/json":
  var obj = %{"message": %"Hello, World!"}
  resp($obj)

var disp = newDispatcher()
disp.register(port = TPort(9000), http=false)
while disp.poll(): nil

Set Content-Type as application/json for the Jester benchmark.

import jester, strtabs, json, asyncio, sockets

get "/json":
  var obj = %{"message": %"Hello, World!"}
  resp($obj, "application/json")

var disp = newDispatcher()
disp.register(port = TPort(9000), http=false)
while disp.poll(): nil