-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Sync
svg/painting/reftests
from WPT upstream
https://bugs.webkit.org/show_bug.cgi?id=269467 Reviewed by Tim Nguyen. This PR is to sync `svg/painting/reftests` from WPT upstream: Upstream commit: web-platform-tests/wpt@b9dc4df > Remove Test Expectations (.txt): * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-001-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-003-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-011-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-012-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-013-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-units-strokewidth-non-scaling-stroke-expected.txt: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-units-userspaceonuse-non-scaling-stroke-expected.txt: > Modified Files: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/w3c-import.log: * LayoutTests/imported/w3c/resources/resource-files.json: > Modified Tests & Test Expectations: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/display-none-mask-expected.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/display-none-mask.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-001.svg: > New Tests & Test Expectations: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/display-none-mask-ref.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-001-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-001.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-002.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-002-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-implicit-subpaths-expected.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-implicit-subpaths.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-001-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-002-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-003-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-011-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-012-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-013-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-021-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-022-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-023-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-units-strokewidth-non-scaling-stroke-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-units-userspaceonuse-non-scaling-stroke-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/markers-orient-001-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/markers-orient-002-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/markers-orient-002.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/mask-percentage-expected.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/mask-percentage-ref.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/mask-percentage.html: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/mask-print-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paint-context-001-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paint-context-002-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paint-order-001-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paintorder-text-decorations-ref.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paintorder-text-decorations.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/percentage-attribute-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/percentage-expected.svg: * LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/paintorder-text-decorations-expected.svg: > Test Expectations [ Failure ]: * LayoutTests/TestExpectations: > Test Expectations [ Failure & ImageOnlyFailure] - Platform: * LayoutTests/platform/ios/TestExpectations: * LayoutTests/platform/mac/TestExpectations: Canonical link: https://commits.webkit.org/274810@main
- Loading branch information
1 parent
aa59663
commit e432d40
Showing
48 changed files
with
1,368 additions
and
129 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
50 changes: 50 additions & 0 deletions
50
LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/display-none-mask-ref.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,50 @@ | ||
<!DOCTYPE html> | ||
<html lang="en"> | ||
|
||
<head> | ||
<meta charset="UTF-8"> | ||
</head> | ||
|
||
<body> | ||
<svg width="200" height="200"> | ||
<foreignObject x="0" y="0" width="200" height="200"> | ||
<div style="width: 200px; height: 200px;"></div> | ||
</foreignobject> | ||
</svg> | ||
<svg width="200" height="200"> | ||
<foreignObject x="0" y="0" width="200" height="200"> | ||
<div style="width: 200px; height: 200px; background: green"></div> | ||
</foreignobject> | ||
</svg> | ||
<svg width="200" height="200"> | ||
<foreignObject x="0" y="0" width="200" height="200"> | ||
<div style="width: 200px; height: 200px;"></div> | ||
</foreignobject> | ||
</svg> | ||
<svg width="200" height="200"> | ||
<foreignObject x="0" y="0" width="200" height="200"> | ||
<div style="width: 200px; height: 200px; background: green"></div> | ||
</foreignobject> | ||
</svg> | ||
|
||
<!-- make sure masking actually works --> | ||
<svg width="200" height="200"> | ||
<rect x="0" y="0" width="100" height="50" fill="green"></rect> | ||
<rect x="0" y="100" width="100" height="50" fill="green"></rect> | ||
</svg> | ||
<svg width="200" height="200"> | ||
<rect x="0" y="0" width="100" height="50" fill="green"></rect> | ||
<rect x="0" y="100" width="100" height="50" fill="green"></rect> | ||
</svg> | ||
|
||
<!-- make sure masking works on active content --> | ||
<svg width="200" height="200"> | ||
<rect x="0" y="0" width="100" height="50" fill="green"></rect> | ||
<rect x="0" y="100" width="100" height="50" fill="green"></rect> | ||
</svg> | ||
<svg width="200" height="200"> | ||
<rect x="0" y="0" width="100" height="50" fill="green"></rect> | ||
<rect x="0" y="100" width="100" height="50" fill="green"></rect> | ||
</svg> | ||
</body> | ||
</html> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
3 changes: 3 additions & 0 deletions
3
...imported/w3c/web-platform-tests/svg/painting/reftests/fallback-001-expected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
6 changes: 6 additions & 0 deletions
6
LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-001.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
3 changes: 3 additions & 0 deletions
3
...imported/w3c/web-platform-tests/svg/painting/reftests/fallback-002-expected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
5 changes: 5 additions & 0 deletions
5
LayoutTests/imported/w3c/web-platform-tests/svg/painting/reftests/fallback-002.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 2 additions & 0 deletions
2
...orted/w3c/web-platform-tests/svg/painting/reftests/marker-implicit-subpaths-expected.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,2 @@ | ||
<!DOCTYPE html> | ||
<div style="width: 100px; height: 100px; background-color: green"></div> |
12 changes: 12 additions & 0 deletions
12
...Tests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-implicit-subpaths.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
<!doctype html> | ||
<title>Marker on implicit subpath</title> | ||
<link rel="help" href="https://svgwg.org/svg2-draft/painting.html#RenderingMarkers"> | ||
<link rel="help" href="https://svgwg.org/svg2-draft/paths.html#PathDataClosePathCommand"> | ||
<link rel="match" href="../../struct/reftests/reference/green-100x100.html"> | ||
<svg width="400" viewBox="-200 0 400 150"> | ||
<marker id="m" markerUnits="userSpaceOnUse" orient="auto" overflow="visible"> | ||
<rect width="100" height="100" fill="green"/> | ||
</marker> | ||
<rect x="-200" width="100" height="100" fill="red"/> | ||
<path d="M-200,0ZZZ" marker-mid="url(#m)" stroke="red" stroke-width="4"/> | ||
</svg> |
94 changes: 94 additions & 0 deletions
94
...orted/w3c/web-platform-tests/svg/painting/reftests/marker-path-001-expected.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
23 changes: 0 additions & 23 deletions
23
...tTests/imported/w3c/web-platform-tests/svg/painting/reftests/marker-path-001-expected.txt
This file was deleted.
Oops, something went wrong.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.