Bug 176667 - [Automation] table right margin property does not work properly in html
Summary: [Automation] table right margin property does not work properly in html
Status: REOPENED
Alias: None
Product: z_Archived
Classification: Eclipse Foundation
Component: BIRT (show other bugs)
Version: 2.2.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: Future   Edit
Assignee: Liang Yu CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 176791 (view as bug list)
Depends on:
Blocks:
 
Reported: 2007-03-07 20:49 EST by Xiang Li CLA
Modified: 2007-04-22 22:30 EDT (History)
0 users

See Also:


Attachments
report design (38.45 KB, application/octet-stream)
2007-03-07 20:49 EST, Xiang Li CLA
no flags Details
The html file for testing. (1.49 KB, text/html)
2007-04-21 02:21 EDT, Liang Yu CLA
no flags Details
Screenshot of viewing the test.html in IE and Firefox. (94.22 KB, image/jpeg)
2007-04-21 02:24 EDT, Liang Yu CLA
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Xiang Li CLA 2007-03-07 20:49:01 EST
steps to reproduce:

   - use the attached report design
   - preview in html, pdf, and web viewer

expected behavior:

   - table right margin property works properly

actual behavior:

   - it did not work when preview in html and web viewer
Comment 1 Xiang Li CLA 2007-03-07 20:49:43 EST
Created attachment 60407 [details]
report design
Comment 2 Liang Yu CLA 2007-03-15 09:36:05 EDT
The tables were out of page. The tables's out parts were cutted automaticly by browser.
Comment 3 Xiang Li CLA 2007-03-15 20:35:34 EDT
i didn't get the out of page explaination. i try to remove one column from the table, it still didn't work as expected.
Comment 4 Liang Yu CLA 2007-03-16 03:38:10 EDT
This is not a Regression.
Comment 5 Liang Yu CLA 2007-03-16 03:41:36 EDT
*** Bug 176791 has been marked as a duplicate of this bug. ***
Comment 6 Liang Yu CLA 2007-04-21 02:18:05 EDT
In IE and Firefox:
The width of a text doesn't include the border, padding and margin.

In Firefox:
The width of a table include the padding and border, doesn't include the margine.

In IE:
Table doesn't have padding.
The width of a table include the border, doesn't include the margine.
Comment 7 Liang Yu CLA 2007-04-21 02:21:06 EDT
Created attachment 64506 [details]
The html file for testing.
Comment 8 Liang Yu CLA 2007-04-21 02:24:06 EDT
Created attachment 64507 [details]
Screenshot of viewing the test.html in IE and Firefox.
Comment 9 Liang Yu CLA 2007-04-21 02:25:29 EDT
Suggest the PDF using the same solution of HTML.

PS: BIRT doesn't support table's padding.
Comment 10 Wei Yan CLA 2007-04-22 22:30:59 EDT
as IE/FireFox doesn't handle padding/margine well for tables, so please remove the table-margin test from the test suite. 

The user can create different report design for IE/FireFox, so we can handle it in future.