Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / fast / borders / border-image-reset-by-border-shorthand.html
blob39ad827a7356d5f1d38c50afb8d72458c618199d
1 <!DOCTYPE html>
3 <html>
4 <head>
5 <style>
6 div {
7 width: 300px;
8 height: 300px;
9 border-image: -webkit-linear-gradient(30deg, black, white) 1 fill repeat;
10 border: 2px solid green;
12 </style>
13 <script>
14 if (window.testRunner)
15 window.testRunner.dumpAsText();
17 function runTest()
19 var testChild = document.getElementById('test');
20 var s = getComputedStyle(testChild);
21 var text = s.getPropertyValue("border-image-source");
22 if (text == "none")
23 testChild.innerHTML = "PASS";
24 else
25 testCHild.innerHTML = "FAIL";
28 </script>
29 </head>
30 <body onload="runTest()">
31 <div id="test">FAIL
32 </div>
33 </body>
34 </html>