Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

#344 Parse multiple SVG nodes #589

Open
wants to merge 5 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 8 additions & 0 deletions Macaw.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -534,6 +534,8 @@
A74C82412297DC220085A832 /* shapes-rect-02-t-manual.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C82402297DC220085A832 /* shapes-rect-02-t-manual.reference */; };
A74C832C229FB7690085A832 /* color-prop-04-t-manual-osx.svg in Resources */ = {isa = PBXBuildFile; fileRef = A74C832B229FB7690085A832 /* color-prop-04-t-manual-osx.svg */; };
A74C832E229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C832D229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference */; };
A74C834022A1288B0085A832 /* coords-viewattr-01-b-manual.svg in Resources */ = {isa = PBXBuildFile; fileRef = A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */; };
A74C834222A12ADA0085A832 /* coords-viewattr-01-b-manual.reference in Resources */ = {isa = PBXBuildFile; fileRef = A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */; };
A7E675561EC4213500BD9ECB /* NodeBoundsTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7E675551EC4213500BD9ECB /* NodeBoundsTests.swift */; };
C410148E1F834D290022EE44 /* style.svg in Resources */ = {isa = PBXBuildFile; fileRef = C410148D1F834D280022EE44 /* style.svg */; };
C4153A8F1F8793DE001BA5EE /* small-logo.png in Resources */ = {isa = PBXBuildFile; fileRef = C4153A8E1F8793DD001BA5EE /* small-logo.png */; };
Expand Down Expand Up @@ -976,6 +978,8 @@
A74C82402297DC220085A832 /* shapes-rect-02-t-manual.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "shapes-rect-02-t-manual.reference"; sourceTree = "<group>"; };
A74C832B229FB7690085A832 /* color-prop-04-t-manual-osx.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "color-prop-04-t-manual-osx.svg"; sourceTree = "<group>"; };
A74C832D229FBA4C0085A832 /* color-prop-04-t-manual-osx.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "color-prop-04-t-manual-osx.reference"; sourceTree = "<group>"; };
A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "coords-viewattr-01-b-manual.svg"; sourceTree = "<group>"; };
A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; path = "coords-viewattr-01-b-manual.reference"; sourceTree = "<group>"; };
A7E675551EC4213500BD9ECB /* NodeBoundsTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; name = NodeBoundsTests.swift; path = Bounds/NodeBoundsTests.swift; sourceTree = "<group>"; };
C410148D1F834D280022EE44 /* style.svg */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text.xml; path = style.svg; sourceTree = "<group>"; };
C4153A8E1F8793DD001BA5EE /* small-logo.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "small-logo.png"; sourceTree = "<group>"; };
Expand Down Expand Up @@ -1471,6 +1475,8 @@
5B1AE1D320B6A669007EECCB /* coords-transformattr-04-f-manual.svg */,
5B1AE22F20B6A669007EECCB /* coords-transformattr-05-f-manual.reference */,
5B1AE1B120B6A669007EECCB /* coords-transformattr-05-f-manual.svg */,
A74C833F22A1288A0085A832 /* coords-viewattr-01-b-manual.svg */,
A74C834122A12ADA0085A832 /* coords-viewattr-01-b-manual.reference */,
5B7E79DC20D2781A00C50BCF /* masking-intro-01-f-manual.reference */,
5B7E79DD20D2781A00C50BCF /* masking-intro-01-f-manual.svg */,
5B7E79CC20CBE69600C50BCF /* masking-path-02-b-manual.reference */,
Expand Down Expand Up @@ -2016,11 +2022,13 @@
5B1AE29B20B6A669007EECCB /* shapes-line-01-t-manual.reference in Resources */,
5B1AE29820B6A669007EECCB /* paths-data-08-t-manual.svg in Resources */,
5B1AE25D20B6A669007EECCB /* shapes-polyline-02-t-manual.reference in Resources */,
A74C834022A1288B0085A832 /* coords-viewattr-01-b-manual.svg in Resources */,
57CAB1351D7832E000FD8E47 /* roundRect.svg in Resources */,
5BAE203D208E163D006BF277 /* clipManual.reference in Resources */,
5B1AE29620B6A669007EECCB /* shapes-circle-02-t-manual.svg in Resources */,
5B37139820BE95D7004BB6EE /* pservers-grad-01-b-manual.svg in Resources */,
5B1AE28320B6A669007EECCB /* paths-data-03-f-manual.svg in Resources */,
A74C834222A12ADA0085A832 /* coords-viewattr-01-b-manual.reference in Resources */,
5B7E79DF20D2781A00C50BCF /* masking-intro-01-f-manual.svg in Resources */,
5B1AE29E20B6A669007EECCB /* pservers-grad-stops-01-f-manual.reference in Resources */,
5B1AE23E20B6A669007EECCB /* render-elems-02-t-manual.reference in Resources */,
Expand Down
4 changes: 4 additions & 0 deletions MacawTests/MacawSVGTests.swift
Original file line number Diff line number Diff line change
Expand Up @@ -707,4 +707,8 @@ class MacawSVGTests: XCTestCase {
func testPserversGrad03() {
validateJSON("pservers-grad-03-b-manual")
}

func testCoordsViewAttr01() {
validateJSON("coords-viewattr-01-b-manual")
}
}
6 changes: 3 additions & 3 deletions MacawTests/w3c-test-suite.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@ There are [521 SVG tests](https://github.com/web-platform-tests/wpt/tree/master/
* [switch/object](https://www.w3.org/TR/SVG11/backward.html) (7)

The rest 306 tests can be split into following categories:
* 35.3% passed (108)
* 38.9% passed (119)
* 14.1% filters (43) [#390](https://github.com/exyte/Macaw/issues/390)
* 8.5% images (26) [wpt issue](https://github.com/web-platform-tests/wpt/issues/11178)
* 2.6% markers (8) [#392](https://github.com/exyte/Macaw/issues/392)
* 20.6% text (63) [#391](https://github.com/exyte/Macaw/issues/391)
* 19.0% blocked by issues (58)
* 15.6% blocked by issues (47)

Status of each test:

Expand Down Expand Up @@ -53,7 +53,7 @@ Status of each test:
|[coords-units-01-b-manual](w3cSVGTests/coords-units-01-b-manual.svg) | [#389](https://github.com/exyte/Macaw/issues/389) |
|[coords-units-02-b-manual](w3cSVGTests/coords-units-02-b-manual.svg) | [#389](https://github.com/exyte/Macaw/issues/389) |
|[coords-units-03-b-manual](w3cSVGTests/coords-units-03-b-manual.svg) | [#389](https://github.com/exyte/Macaw/issues/389) |
|[coords-viewattr-01-b-manual](w3cSVGTests/coords-viewattr-01-b-manual.svg) | [#344](https://github.com/exyte/Macaw/issues/344) |
|[coords-viewattr-01-b-manual](w3cSVGTests/coords-viewattr-01-b-manual.svg) | |
|[coords-viewattr-02-b-manual](w3cSVGTests/coords-viewattr-02-b-manual.svg) | [#344](https://github.com/exyte/Macaw/issues/344) |
|[coords-viewattr-03-b-manual](w3cSVGTests/coords-viewattr-03-b-manual.svg) | [#344](https://github.com/exyte/Macaw/issues/344) |
|[coords-viewattr-04-f-manual](w3cSVGTests/coords-viewattr-04-f-manual.svg) | [#344](https://github.com/exyte/Macaw/issues/344) |
Expand Down
Loading