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

Side by Side Diff: LayoutTests/svg/animations/resources/attributeTypes.svg

Issue 963733002: [svg2] Make 'width' and 'height' presentation attributes (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: rebaseline some EX tests [Mac Win] Created 5 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
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?>
2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd"> 2 <!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1 Tiny//EN" "http://www.w3.org/Graphics/ SVG/1.1/DTD/svg11-tiny.dtd">
3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k"> 3 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlin k">
4 4
5 <!-- 'width' is a XML attribute, attributeType is set to "auto": this animation runs. --> 5 <!-- 'width' is a XML attribute, attributeType is set to "auto": this animation runs. -->
6 <rect width="10" height="100" fill="green"> 6 <rect width="10" height="100" fill="green">
7 <animate id="an1" attributeType="auto" attributeName="width" fill="freeze" f rom="10" to="100" begin="0s" dur="4s"/> 7 <animate id="an1" attributeType="auto" attributeName="width" fill="freeze" f rom="10" to="100" begin="0s" dur="4s"/>
8 </rect> 8 </rect>
9 9
10 <!-- 'width' is a XML attribute, attributeType is set to "CSS". 'width' is not a presentation attribute, so this animation won't run. --> 10 <!-- 'width' is a XML attribute, attributeType is set to "CSS". 'width' is not a presentation attribute, so this animation won't run. -->
11 <rect x="150" width="100" height="100" fill="green"> 11 <rect x="150" width="10" height="100" fill="green">
12 <animate id="an2" attributeType="CSS" attributeName="width" fill="freeze" fr om="100" to="10" begin="0s" dur="4s"/> 12 <animate id="an2" attributeType="CSS" attributeName="width" fill="freeze" fr om="10" to="100" begin="0s" dur="4s"/>
13 </rect> 13 </rect>
14 14
15 <!-- 'fill' is a presentation attribute, mapped to CSS, attributeType is set to "auto": this animation runs. --> 15 <!-- 'fill' is a presentation attribute, mapped to CSS, attributeType is set to "auto": this animation runs. -->
16 <rect y="150" width="100" height="100" fill="red"> 16 <rect y="150" width="100" height="100" fill="red">
17 <animate id="an3" attributeType="auto" attributeName="fill" fill="freeze" fr om="red" to="green" begin="0s" dur="4s"/> 17 <animate id="an3" attributeType="auto" attributeName="fill" fill="freeze" fr om="red" to="green" begin="0s" dur="4s"/>
18 </rect> 18 </rect>
19 19
20 <!-- 'fill' is a presentation attribute, mapped to CSS, attributeType is set to "XML": this animation runs. --> 20 <!-- 'fill' is a presentation attribute, mapped to CSS, attributeType is set to "XML": this animation runs. -->
21 <rect x="150" y="150" width="100" height="100" fill="red"> 21 <rect x="150" y="150" width="100" height="100" fill="red">
22 <animate id="an4" attributeType="XML" attributeName="fill" fill="freeze" fro m="red" to="green" begin="0s" dur="4s"/> 22 <animate id="an4" attributeType="XML" attributeName="fill" fill="freeze" fro m="red" to="green" begin="0s" dur="4s"/>
23 </rect> 23 </rect>
24 24
25 </svg> 25 </svg>
OLDNEW
« no previous file with comments | « LayoutTests/svg/animations/attributeTypes-expected.txt ('k') | LayoutTests/svg/animations/script-tests/attributeTypes.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698