Wed, 31 Dec 2014 07:53:36 +0100
Correct small whitespace inconsistency, lost while renaming variables.
michael@0 | 1 | <!DOCTYPE html> |
michael@0 | 2 | <body> |
michael@0 | 3 | <style scoped>span { color: red; }</style> |
michael@0 | 4 | <div><span></span></div> |
michael@0 | 5 | <script> |
michael@0 | 6 | var div = document.querySelector("div"); |
michael@0 | 7 | div.parentNode.removeChild(div); |
michael@0 | 8 | getComputedStyle(div.firstChild, "").color; |
michael@0 | 9 | </script> |