Test Case Boilerplate

Fork this way...

HTML

<script type="text/javascript"> var a=1; var b=2; var c=3; </script>

<style type="text/css">
    h1 {color:red;}
    p {color:blue;}
</style>

<div>
    
    <p>hello1</p> <p>hello2</p> <p>hello3</p>
    
</div>

JavaScript

var $children = $("body").children();

$children.each(function() {

    console.log(
    this.nodeName, $(this).height(), $(this).innerHeight(), $(this).outerHeight());

});