Ensure we compute the min and max height of replaced elements to 'none' or 0 when appropriate.

If a replaced element has a percentage min or max height specified then that height value should
compute to 'none' for max-height and 0 for min-height  when its containing block
does not have a height 'specified explicitly'.

See http://www.w3.org/TR/CSS21/visudet.html#min-max-heights

http://lists.w3.org/Archives/Public/www-style/2014Jun/0079.html

BUG=385877

Review URL: https://codereview.chromium.org/360613003

git-svn-id: svn://svn.chromium.org/blink/trunk@178397 bbb929c8-8fbe-4397-9dbb-9b2b20218538