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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg">
3 <defs>
4 <linearGradient id="myGradient"
5 x1="0%" y1="0%"
6 x2="0%" y2="100%"
7 spreadMethod="pad">
8 <stop offset="0%" stop-color="#00cc00" stop-opacity="1"/>
9 <stop offset="100%" stop-color="#006600" stop-opacity="1"/>
10 </linearGradient>
11 </defs>
12 <g stroke="blue">
13 <rect width="100" height="100" fill="none" stroke="url(#myGradie nt)"/>
14 <rect width="100" height="100" fill="none" stroke="url(#non-exis tent-uri)"/>
15 </g>
16 <g fill="black">
17 <text x="10" y="130">The above stroke of rect should be BLUE.</tex t>
18 <text x="10" y="150">SVG 1.1 FULL says there should be a "highly p erceivable error" message when an invalid URI is used.</text>
19 <text x="10" y="170">Browsers don't display such an error, instead use some sort of fill-fallback.</text>
20 <text x="10" y="190">If there's an non-existent uri, but no fallba ck specified, the stroke of the object is inherited from parent object.</text>
21 <text x="10" y="210">This has recently been changed in SVG 1.1 2nd edition. Our result matches Opera now.</text>
22 </g>
23 </svg>
24
OLDNEW
« 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