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

Side by Side Diff: LayoutTests/svg/animations/use-set-attribute-width-height.html

Issue 17287012: Replace hasAttribute with the check for actual value (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Replace '>=' with '=' to fix layout test failures Created 7 years, 6 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
« no previous file with comments | « no previous file | LayoutTests/svg/animations/use-set-attribute-width-height-expected.html » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!-- Test for crbug.com/235256: this test passes if only
2 the top left green rect is shown.
3 Modified from the original example here,
4 http://www.w3.org/TR/SVG/images/struct/Use02.svg -->
5 <html>
6 <body>
7 <svg width="10cm" height="3cm" viewBox="0 0 100 30">
8 <defs>
9 <symbol id="MySymbol">
10 <desc>MySymbol - four rectangles in a grid</desc>
11 <rect x="1" y="1" width="8" height="8" fill="green"/>
12 <rect x="11" y="1" width="8" height="8" fill="red"/>
13 <rect x="1" y="11" width="8" height="8" fill="red"/>
14 <rect x="11" y="11" width="8" height="8" fill="red"/>
15 </symbol>
16 </defs>
17 <use x="0" y="0" xlink:href="#MySymbol" >
18 <set attributeName="width" to="10" begin="0s" fill="freeze" />
19 <set attributeName="height" to="10" begin="0s" fill="freeze" />
20 </use>
21 </svg>
22 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/svg/animations/use-set-attribute-width-height-expected.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698