| Summary: | Set height in img tag will affect width | ||||||
|---|---|---|---|---|---|---|---|
| Product: | z_Archived | Reporter: | Liwen Chen <lchen> | ||||
| Component: | BIRT | Assignee: | JingwenShen <jingwen.shen> | ||||
| Status: | CLOSED FIXED | QA Contact: | Liwen Chen <lchen> | ||||
| Severity: | normal | ||||||
| Priority: | P3 | CC: | bluesoldier, jingwen.shen, wyan | ||||
| Version: | 2.6.0 | ||||||
| Target Milestone: | 2.6.0 RC2 | ||||||
| Hardware: | PC | ||||||
| OS: | Windows XP | ||||||
| Whiteboard: | Need-Auto | ||||||
| Attachments: |
|
||||||
All output formats should be consistent with the browser's behavior. Fixed the problem. All formats follow the browser effect, height and width both change. |
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.