Fix initial stroke width (#959)

* Fix initial stroke width

* refresh packages

* update snapshots

* Update issue-752.cy.js

---------

Co-authored-by: JFH <20402845+jfhenon@users.noreply.github.com>
This commit is contained in:
Delmo Heredia
2024-04-18 13:58:59 +02:00
committed by GitHub
parent 94f7710cfc
commit 04ab3dd873
37 changed files with 876 additions and 1412 deletions

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 242 B

After

Width:  |  Height:  |  Size: 259 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" rx="100" ry="50.5" stroke="#000000"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 459 B

After

Width:  |  Height:  |  Size: 510 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 473 B

After

Width:  |  Height:  |  Size: 524 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#FF0000" id="svg_2" rx="100" ry="50.5" stroke="#000000"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#FF0000" id="svg_2" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 427 B

After

Width:  |  Height:  |  Size: 478 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 727 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 676 B

After

Width:  |  Height:  |  Size: 727 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="200" cy="400" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="100" ry="100" stroke="#000000" transform="rotate(25 200 400)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="200" cy="400" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5" transform="rotate(25 200 400)"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 739 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="100" ry="100" stroke="#000000" transform="rotate(25 220 420)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5" transform="rotate(25 220 420)"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 739 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" transform="rotate(25 200 400)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="200" cy="400" fill="#FF0000" id="svg_3" rx="100" ry="100" stroke="#000000" stroke-width="5" transform="rotate(25 200 400)"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 504 B

After

Width:  |  Height:  |  Size: 555 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" transform="rotate(25 220 420)"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" stroke-width="5" transform="rotate(25 220 420)"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 688 B

After

Width:  |  Height:  |  Size: 739 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000"/>
<ellipse cx="420" cy="270" fill="#ffff00" id="svg_4" opacity="0.5" rx="100" ry="50" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="220" cy="420" fill="#FF0000" filter="url(#svg_3_blur)" id="svg_3" rx="120" ry="120" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 220 420)"/>
<ellipse cx="400" cy="250" fill="#ffff00" id="svg_2" opacity="0.5" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
<ellipse cx="420" cy="270" fill="#ffff00" id="svg_4" opacity="0.5" rx="100" ry="50" stroke="#000000" stroke-width="5"/>
</g>
<defs>
<filter height="200%" id="svg_3_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 781 B

After

Width:  |  Height:  |  Size: 849 B

View File

@@ -1,7 +1,7 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000"/>
<ellipse cx="400" cy="250" fill="#FF0000" id="svg_2" rx="100" ry="50.5" stroke="#000000"/>
<circle cx="200" cy="200" fill="#FF0000" id="svg_1" r="100" stroke="#000000" stroke-width="5"/>
<ellipse cx="400" cy="250" fill="#FF0000" id="svg_2" rx="100" ry="50.5" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 335 B

After

Width:  |  Height:  |  Size: 369 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m50,50l100,50l-20,100l-80,-150z" fill="#FF0000" id="svg_1" stroke="#000000"/>
<path d="m50,50l100,50l-20,100l-80,-150z" fill="#FF0000" id="svg_1" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 267 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m195,255l-20,-130l-20,100c51.67,65 158.33,220 128.75,172.5c-29.58,-47.5 -75.42,-117.5 -88.75,-142.5z" fill="#FF0000" id="svg_1" stroke="#000000"/>
<path d="m197.5,247.5l-20,-120l-20,100c51.67,60 158.33,205 128.75,158.75c-29.58,-46.25 -75.42,-113.75 -88.75,-138.75z" fill="#FF0000" id="svg_1" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 344 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m75,75l100,50l-20,100l-80,-150z" fill="#FF0000" id="svg_1" stroke="#000000"/>
<path d="m77.5,77.5l100,50l-20,100l-80,-150z" fill="#FF0000" id="svg_1" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 250 B

After

Width:  |  Height:  |  Size: 271 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m75,75l100,50l-20,100c103.33,130 -53.33,-100 -80,-150z" fill="#FF0000" id="svg_1" stroke="#000000"/>
<path d="m77.5,77.5l100,50l-20,100c103.33,120 -53.33,-100 -80,-150z" fill="#FF0000" id="svg_1" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 273 B

After

Width:  |  Height:  |  Size: 294 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m195,255l-20,-130l-20,100c51.67,65 158.33,220 128.75,172.5c-29.58,-47.5 -75.42,-117.5 -88.75,-142.5z" fill="#FF0000" id="svg_1" stroke="#000000"/>
<path d="m197.5,247.5l-20,-120l-20,100c51.67,60 158.33,205 128.75,158.75c-29.58,-46.25 -75.42,-113.75 -88.75,-138.75z" fill="#FF0000" id="svg_1" stroke="#000000" stroke-width="5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 319 B

After

Width:  |  Height:  |  Size: 344 B

View File

@@ -1,7 +1,7 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" stroke-width="5" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 350 B

After

Width:  |  Height:  |  Size: 384 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" stroke-width="5" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 772 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 721 B

After

Width:  |  Height:  |  Size: 772 B

View File

@@ -1,6 +1,6 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" stroke-width="5" width="100" x="150" y="150"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 254 B

After

Width:  |  Height:  |  Size: 271 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" stroke="#000000" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" stroke="#000000" stroke-width="5" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 689 B

After

Width:  |  Height:  |  Size: 740 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" height="50" id="svg_1" stroke="#000000" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" height="50" id="svg_1" stroke="#000000" stroke-width="5" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 474 B

After

Width:  |  Height:  |  Size: 525 B

View File

@@ -1,9 +1,9 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 703 B

After

Width:  |  Height:  |  Size: 754 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" height="50" id="svg_1" stroke="#000000" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" height="50" id="svg_1" stroke="#000000" stroke-width="5" transform="rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 505 B

After

Width:  |  Height:  |  Size: 556 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<path d="m375,255l145,0l0,125l-145,0l0,-125z" fill="#FF0000" id="svg_2" opacity="0.5" stroke="#000000"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<path d="m375,255l145,0l0,125l-145,0l0,-125z" fill="#FF0000" id="svg_2" opacity="0.5" stroke="#000000" stroke-width="5"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 874 B

After

Width:  |  Height:  |  Size: 942 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<path d="m375,255l145,0l0,125l-145,0l0,-125z" fill="#FF0000" id="svg_2" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0)"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<path d="m375,255l145,0l0,125l-145,0l0,-125z" fill="#FF0000" id="svg_2" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 441 B

After

Width:  |  Height:  |  Size: 475 B

View File

@@ -1,8 +1,8 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" width="50" x="230" y="300"/>
<rect fill="#FF0000" height="50" id="svg_1" stroke="#000000" stroke-width="5" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="100" id="svg_2" stroke="#000000" stroke-width="5" width="120" x="350" y="230.5"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" width="50" x="230" y="300"/>
</g>
</svg>

Before

Width:  |  Height:  |  Size: 442 B

After

Width:  |  Height:  |  Size: 493 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 845 B

After

Width:  |  Height:  |  Size: 913 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 845 B

After

Width:  |  Height:  |  Size: 913 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_4" rx="25" ry="25" stroke="#000000" stroke-width="5" width="50" x="250" y="320"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="50" x="230" y="300"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 861 B

After

Width:  |  Height:  |  Size: 929 B

View File

@@ -1,10 +1,10 @@
<svg width="640" height="480" xmlns="http://www.w3.org/2000/svg" xmlns:svg="http://www.w3.org/2000/svg">
<g class="layer">
<title>Layer 1</title>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" width="50" x="230" y="300"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" width="50" x="250" y="320"/>
<rect fill="#ffff00" filter="url(#svg_1_blur)" height="50" id="svg_1" opacity="0.5" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0) rotate(25 200 175)" width="100" x="150" y="150"/>
<rect fill="#FF0000" height="125" id="svg_2" stroke="#000000" stroke-width="5" transform="matrix(1 0 0 1 0 0)" width="145" x="375" y="255"/>
<rect fill="#FF0000" height="50" id="svg_3" stroke="#000000" stroke-width="5" width="50" x="230" y="300"/>
<rect fill="#FF0000" height="50" id="svg_4" stroke="#000000" stroke-width="5" width="50" x="250" y="320"/>
</g>
<defs>
<filter height="200%" id="svg_1_blur" width="200%" x="-50%" y="-50%">

Before

Width:  |  Height:  |  Size: 813 B

After

Width:  |  Height:  |  Size: 881 B

View File

@@ -34,6 +34,6 @@ describe('Fix issue 752', function () {
.trigger('mousemove', 203, 205, { force: true })
.trigger('mouseup', { force: true })
cy.get('#selectedBox0').should('have.attr', 'd', 'M192,194 L284,194 284,286 192,286z')
cy.get('#selectedBox0').should('have.attr', 'd', 'M189.5,191.5 L286.5,191.5 286.5,288.5 189.5,288.5z')
})
})