title: Setting width:auto leads to width:100%
body: <p>I am a little bit tired right now (out of coffee), so I am unable to figure this out.</p>
  
  <p>When I set <code>p.style.width = auto</code> (the blue one), why is its <code>width</code> at <strong>100%</strong>? None of the elements have their width set to 100%, so I doubt it's inherited property.</p>
  
  <p>How can I set the <code>&lt;p&gt;</code>'s width to match its content width plus padding?</p>
  
  <p>Sample page <a href="http://elijen.ic.cz/hs" rel="nofollow noreferrer">link</a></p>