Fri, 16 Jan 2015 18:13:44 +0100
Integrate suggestion from review to improve consistency with existing code.
michael@0 | 1 | <html xmlns="http://www.w3.org/1999/xhtml"> |
michael@0 | 2 | <head> |
michael@0 | 3 | <script> |
michael@0 | 4 | |
michael@0 | 5 | function boom() |
michael@0 | 6 | { |
michael@0 | 7 | var b = document.getElementById('b'); |
michael@0 | 8 | b.style.counterIncrement = 'chicken'; |
michael@0 | 9 | document.body.offsetHeight; |
michael@0 | 10 | b.style.counterIncrement = ''; |
michael@0 | 11 | } |
michael@0 | 12 | |
michael@0 | 13 | </script> |
michael@0 | 14 | </head> |
michael@0 | 15 | |
michael@0 | 16 | <body onload="boom();"> |
michael@0 | 17 | |
michael@0 | 18 | <col id="a" span="2"></col><col id="b"></col> |
michael@0 | 19 | |
michael@0 | 20 | </body> |
michael@0 | 21 | </html> |