Change fast/s* and fast/t* files to use pre and post js files in LayoutTests/resources.
[WebKit-https.git] / LayoutTests / fast / table / table-with-borderattr-set-to-null.html
1 <!DOCTYPE html>
2 <head>
3 <script>
4     if (window.testRunner)
5         testRunner.dumpAsText();
6 </script>
7 <script src="../../resources/js-test-pre.js"></script>
8 </head>
9 <body>
10     <p>There should be a black box below. <br> 
11
12     <table id="table" width="100%" height="100%">
13         <tr>
14             <td height="26"></td>
15         </tr>
16     </table>
17
18     <div id="console"></div>
19     <script>
20         var table = document.getElementById("table");
21         table.setAttribute("border", null);
22         shouldBeEqualToString('getComputedStyle(document.querySelector("table")).borderTopWidth', "1px");
23     </script>
24 </body>