Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / third_party / WebKit / LayoutTests / tables / mozilla / bugs / bug92868.html
blobd6755c1e13c987b9fb2671c7b8f191070de66397
1 <html>
2 <head>
3 <title>CSS Display Attribute / Reflow Test </title>
4 </head>
6 <body bgcolor="#FFFFFF" onLoad="enable('blueSpan','hidden');enable('blueSpan','visible');enable('blueSpan','hidden');">
7 <a href="javascript:enable('blueSpan', 'hidden');">Hide Blue</a>&nbsp;&nbsp;
8 <a href="javascript:enable('blueSpan', 'visible');">Show Blue</a>&nbsp;&nbsp;
10 <BR>Should not see the blue table<BR>
12 <table id="blueSpan" bgcolor="blue">
13 <tr><td>
14 Blue table
15 </td></tr>
16 </table>
17 <br>
19 </body>
20 </html>
22 <script>
24 function enable(spanID, displayState) {
25 var element = document.getElementById(spanID);
27 if (displayState == 'hidden') {
28 element.style.display = 'none';
29 } else {
30 element.style.display = '';
34 </script>
40 </BODY>
41 </HTML>