Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 312382 - Set height in img tag will affect width
Summary: Set height in img tag will affect width
Status: CLOSED FIXED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.6.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: 2.6.0 RC2   Edit
Assignee: JingwenShen CLA
QA Contact: Liwen Chen CLA
URL:
Whiteboard: Need-Auto
Keywords:
Depends on:
Blocks:
 
Reported: 2010-05-11 04:47 EDT by Liwen Chen CLA
Modified: 2010-05-21 01:42 EDT (History)
3 users (show)

See Also:


Attachments
report (31.88 KB, application/octet-stream)
2010-05-11 04:47 EDT, Liwen Chen CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liwen Chen CLA 2010-05-11 04:47:13 EDT
Created attachment 167874 [details]
report

Build number:2.6.0.v20100511-0630

Steps to reproduce:
1. Copy a.jpg to project
2. New a report, insert a text item, html type, input "<img src="a.jpg" height="50"/>"
3. Preview in all formats

Expected result:
Height works but will not affect width

Actual result:
Only in doc, keep original width.
In other formats, image both width and height are changed.
Comment 1 Wei Yan CLA 2010-05-11 23:31:21 EDT
All output formats should be consistent with the browser's behavior.
Comment 2 JingwenShen CLA 2010-05-20 02:58:57 EDT
Fixed the problem.
Comment 3 Liwen Chen CLA 2010-05-21 01:42:22 EDT
All formats follow the browser effect, height and width both change.