3 <title>Add/remove
"display: none" to table elements (bug
3702)
</title>
4 <style type=
"text/css">
5 .navbar{display: none
;}
8 <body onLoad=
"javascript:document.styleSheets[0].deleteRule(0);">
9 <p>Rows should have different number of columns, but those should match.
</p>
10 <table cellpadding=
"0" cellspacing=
"0" style=
"table-layout: fixed; width: 725px;">
13 <td class=
"navbar" style=
"background-color: LawnGreen;">1</td>
14 <td style=
"background-color: Green;">1+
</td>
15 <td class=
"navbar" style=
"background-color: Cyan;">2</td>
16 <td style=
"background-color: DarkCyan;">2+
</td>
17 <td class=
"navbar" style=
"background-color: Yellow;">3</td>
18 <td style=
"background-color: Gold;">3+
</td>
23 <td class=
"navbar" style=
"background-color: LawnGreen;">1</td>
24 <td style=
"background-color: Green;">1+
</td>
25 <td class=
"navbar" style=
"background-color: Cyan;">2</td>
26 <td style=
"background-color: DarkCyan;">2+
</td>
27 <td class=
"navbar" style=
"background-color: Yellow;">3</td>
28 <td style=
"background-color: Gold;">3+
</td>
29 <td class=
"navbar" style=
"background-color: Orange;">4</td>
30 <td style=
"background-color: DarkOrange;">4+
</td>
38 <td class=
"navbar" style=
"background-color: LawnGreen;">1</td>
39 <td style=
"background-color: Green;">1+
</td>
40 <td class=
"navbar" style=
"background-color: Cyan;">2</td>
41 <td style=
"background-color: DarkCyan;">2+
</td>
48 <button onClick=
"javascript:document.styleSheets[0].deleteRule(0);">show
</button>
49 <button onClick=
"javascript:document.styleSheets[0].insertRule('.navbar {display: none;}', 0);">hide
</button>