mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-26 19:55:39 +00:00
8e1f58b955
This is enough to fix the devtools regression and matches what other browsers do in the no-attribute case. Also, I think this change over all makes sense: it doesn't make any sense to display the broken image icon if there's no request, and we already assume in EnsureIntrinsicSizeAndRatio() that we don't paint the icon for those (and make the intrinsic size 0x0). We still show the border, which matches other UAs (note that devtools effectively masks the border away with mask-image). This technically also can change behavior of <object> and <input>, but I think it's better to be consistent, since EnsureIntrinsicSizeAndRatio also doesn't special-case <img> either. Differential Revision: https://phabricator.services.mozilla.com/D11659 --HG-- extra : moz-landing-system : lando
10 lines
138 B
HTML
10 lines
138 B
HTML
<!doctype html>
|
|
<style>
|
|
img {
|
|
display: inline-block;
|
|
width: 100px;
|
|
height: 100px;
|
|
}
|
|
</style>
|
|
<img src="http://yada yada">
|