<html> <head> </head> <body onload="document.getElementById('f').style.removeProperty('height');"> <div id="f" style="height: 200px;"><div style="height: 100%; background: green"></div></div> </body> </html>