1
0
mirror of https://github.com/svg/svgo.git synced 2025-04-19 10:22:15 +03:00

9 Commits

Author SHA1 Message Date
Bogdan Chadkin
d89d36eace
Split regression extracter and runner (#1451)
A lot of new sources of regression tests may come and it's important to
make debug simpler.

Now regression-extract.js downloads and write svg files into
test/regression-fixtures. regression.js run each svg in this folder.
Mismatched svg diff is written into test/regression-diffs.
2021-03-25 00:12:13 +03:00
Bogdan Chadkin
eb934b40f6 Serve svg for regressions and cache w3c test suite 2021-03-23 00:29:29 +03:00
Bogdan Chadkin
28c01cfe65 Preverve viewBox in nested <svg> 2021-03-06 13:39:31 +03:00
Bogdan Chadkin
a2b0e73767 Preserve conditional processing attributes 2021-03-06 13:18:53 +03:00
Bogdan Chadkin
d3e3726ac4 Keep markers with display: none 2021-03-06 11:21:47 +03:00
Bogdan Chadkin
0e6b0c4a01 Allow empty pattern when any attribute is present 2021-03-06 02:33:19 +03:00
Bogdan Chadkin
ba7e9bdc0d Fix collapsing repeated with marker-mid in style rule 2021-03-06 01:36:18 +03:00
Bogdan Chadkin
555a9619db Remove incorrect filter region assumption
Ref https://www.w3.org/TR/SVG11/filters.html

Spec says filter region is not always 100% 100% by default
2021-03-05 21:31:41 +03:00
Bogdan Chadkin
4d0ee0c330
Test regressions with W3C SVG 1.1 Test Suite (#1357)
Visual regressions tests will give us more confidence in SVGO stability.
Test cases are downloaded from w3.org, screenshooted with playwright and
compared with pixelmatch.
2021-03-04 18:00:15 +03:00