crowell / modpagespeed_tmp

Automatically exported from code.google.com/p/modpagespeed
Apache License 2.0
0 stars 0 forks source link

<img src="/image.gif" width="100%" height="1"> not working #723

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
The height-attribute gets deleted in mod_pagespeed version 1.4.26.3-3101 on 
img-tags when width is set to 100%

Example:

<img src="/image.gif" width="100%" height="1">

Becomes
<img 
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAACklEQ
VQI12N4DgAA6QDo8HtqdwAAAABJRU5ErkJggg==" width="100%">

Instead of:
<img 
src="data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAAAAAA6fptVAAAACklEQ
VQI12N4DgAA6QDo8HtqdwAAAABJRU5ErkJggg==" width="100%" heigth="1">

This is working correctly in version 1.2.24.1-2581

Original issue reported on code.google.com by robin.jo...@askas.se on 19 Jun 2013 at 1:41

GoogleCodeExporter commented 9 years ago

Original comment by jmara...@google.com on 19 Jun 2013 at 2:06

GoogleCodeExporter commented 9 years ago

Original comment by hui...@google.com on 25 Jun 2013 at 6:22