Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: LayoutTests/svg/custom/invalid-uri-stroke.svg

Issue 593173002: Change SVG paint server fallback for a non-existent URL (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Adjust tests. Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/svg/custom/invalid-uri-stroke.svg
diff --git a/LayoutTests/svg/custom/invalid-uri-stroke.svg b/LayoutTests/svg/custom/invalid-uri-stroke.svg
deleted file mode 100644
index 01a16a61e2e016128845bea97dc807f96c49b43e..0000000000000000000000000000000000000000
--- a/LayoutTests/svg/custom/invalid-uri-stroke.svg
+++ /dev/null
@@ -1,24 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<svg xmlns="http://www.w3.org/2000/svg">
- <defs>
- <linearGradient id="myGradient"
- x1="0%" y1="0%"
- x2="0%" y2="100%"
- spreadMethod="pad">
- <stop offset="0%" stop-color="#00cc00" stop-opacity="1"/>
- <stop offset="100%" stop-color="#006600" stop-opacity="1"/>
- </linearGradient>
- </defs>
- <g stroke="blue">
- <rect width="100" height="100" fill="none" stroke="url(#myGradient)"/>
- <rect width="100" height="100" fill="none" stroke="url(#non-existent-uri)"/>
- </g>
- <g fill="black">
- <text x="10" y="130">The above stroke of rect should be BLUE.</text>
- <text x="10" y="150">SVG 1.1 FULL says there should be a "highly perceivable error" message when an invalid URI is used.</text>
- <text x="10" y="170">Browsers don't display such an error, instead use some sort of fill-fallback.</text>
- <text x="10" y="190">If there's an non-existent uri, but no fallback specified, the stroke of the object is inherited from parent object.</text>
- <text x="10" y="210">This has recently been changed in SVG 1.1 2nd edition. Our result matches Opera now.</text>
- </g>
-</svg>
-
« no previous file with comments | « LayoutTests/svg/custom/invalid-fill-expected.txt ('k') | LayoutTests/svg/custom/invalid-uri-stroke-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698