title: Why does width/height work on an inline img element
body: <p>It is my understanding that inline elements can't usually be sized using CSS <code>width</code> and <code>height</code> properties. It seems that an inline <code>img</code> is an exception to this, and that you can resize it using <code>width</code> and <code>height</code>.</p>
  
  <pre><code>img {
    display: inline;
    height: 35px; // this works
  }
  </code></pre>
  
  <p>I'd like to understand if this is something specialized to an <code>img</code> tag, or if there is some other nuance that makes this work.</p>
  
  <p>Can someone point me towards some spec or documentation that describes this behavior?</p>