html - Why does img tag without src take height in IE11? -


i discovered if img tag 100% width given no src takes lot of height in ie11. e.g. test following in ie11 , chrome:

<img src="" alt="" style="width: 100%;">  <p>test text loren ipsum</p>

is in ie11 or right way , other browsers wrong?


Comments

Popular posts from this blog

unity3d - Rotate an object to face an opposite direction -

angular - Is it possible to get native element for formControl? -

javascript - Why jQuery Select box change event is now working? -