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

Side by Side Diff: third_party/WebKit/LayoutTests/svg/custom/use-on-g-containing-symbol.svg

Issue 1736283003: Don't expand <symbol> elements in <use> that are not targets (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@svg-use-symbol-siblings-in-shadow
Patch Set: Drop additional fix. Created 4 years, 9 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
OLDNEW
(Empty)
1 <?xml version="1.0" standalone="no"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1 .1/DTD/svg11.dtd">
3 <svg width="800" height="600" viewBox="0 0 400 300" version="1.1" xmlns="http:// www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink">
4 <defs>
5 <g id="symbol">
6 <symbol overflow="visible">
7 <rect stroke-width="5px" fill="red" stroke="navy" width="60" height= "10"/>
8 </symbol>
9 </g>
10 </defs>
11
12 <g transform="translate(125 25)">
13 <rect stroke-width="5px" fill="red" stroke="navy" width="60" height="10"/>
14 </g>
15
16 <text x="10" y="60">The two objects should look identical.</text>
17 <use x="25" y="25" xlink:href="#symbol"/>
18 </svg>
19
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698