Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / svg / custom / sheet-title.svg
blob2343ab43637171a4db6ffba362c4c034ef7164f0
1 <?xml version="1.0" encoding="UTF-8"?>
2 <svg xmlns="http://www.w3.org/2000/svg" onload="runTest()">
3 <script>
4 function runTest()
6 if (document.styleSheets[0].title == "basic") {
7 document.getElementById("q").setAttribute("title", "advanced");
8 if (document.styleSheets[0].title == "advanced") {
9 document.getElementById("passed").setAttribute("fill", "green");
13 </script>
14 <style type="text/css" title="basic" id="q"><![CDATA[
15 #foo {
16 stop-color: red auto;
18 ]]></style>
19 <rect id="passed" x="0" y="0" width="100" height="100" fill="red"/>
20 </svg>