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

Side by Side Diff: LayoutTests/svg/custom/relative-sized-content-with-resources.xhtml

Issue 209333007: Remove optional type="JavaScript" from script tags (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 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 <html xmlns="http://www.w3.org/1999/xhtml"> 1 <html xmlns="http://www.w3.org/1999/xhtml">
2 <head> 2 <head>
3 <script src="../../fast/repaint/resources/repaint.js"></script> 3 <script src="../../fast/repaint/resources/repaint.js"></script>
4 </head> 4 </head>
5 <body onload="runRepaintTest()"> 5 <body onload="runRepaintTest()">
6 <p>The svg area contained in the div element (red box), should fill out the whole area with a circle, which contains a radial gradient in its center</p> 6 <p>The svg area contained in the div element (red box), should fill out the whole area with a circle, which contains a radial gradient in its center</p>
7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid r ed;"> 7 <div id="contentBox" style="width: 100px; height: 400px; border: 1px solid r ed;">
8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1 999/xlink"> 8 <svg xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1 999/xlink">
9 <defs> 9 <defs>
10 <radialGradient id="grad" cx="50%" cy="50%" r="40%" gradientUnit s="userSpaceOnUse"> 10 <radialGradient id="grad" cx="50%" cy="50%" r="40%" gradientUnit s="userSpaceOnUse">
11 <stop offset="0" stop-color="black" /> 11 <stop offset="0" stop-color="black" />
12 <stop offset="1" stop-color="white" /> 12 <stop offset="1" stop-color="white" />
13 </radialGradient> 13 </radialGradient>
14 </defs> 14 </defs>
15 15
16 <circle cx="50%" cy="50%" r="40%" stroke="gray" fill="url(#grad)"/> 16 <circle cx="50%" cy="50%" r="40%" stroke="gray" fill="url(#grad)"/>
17 </svg> 17 </svg>
18 </div> 18 </div>
19 <script type="JavaScript"> 19 <script>
20 function repaintTest() { 20 function repaintTest() {
21 document.getElementById("contentBox").style.setProperty("width", "40 0px"); 21 document.getElementById("contentBox").style.setProperty("width", "40 0px");
22 } 22 }
23 </script> 23 </script>
24 </body> 24 </body>
25 </html> 25 </html>
OLDNEW
« no previous file with comments | « LayoutTests/svg/custom/relative-sized-content.xhtml ('k') | LayoutTests/svg/custom/relative-sized-image.xhtml » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698