MDN’s new design is in Beta! A sneak peek:

Test 5


Mozilla Developer Network

Same Image in td:

Mozilla Developer Network aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaa aaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaaa

2 images have same mark up. But, 2nd image is small.

img element have this style:

.page-content img {
  max-width: 100%;
  height: auto;

Then, the image don't accept height/width attributes. If width / height attributes are available, can avoid this problem.

And, That these two attributes can't be set in an img element has an adverse effect on the speed display.

<img> element should accept these attributes.


 このページの貢献者: ethertank
 最終更新者: ethertank,