Issue 59237 - bug using <COL WIDTH=size%> and <TD WIDTH=size%>
Summary: bug using <COL WIDTH=size%> and <TD WIDTH=size%>
Status: CLOSED DUPLICATE of issue 3982
Alias: None
Product: Writer
Classification: Application
Component: viewing (show other issues)
Version: OOo 2.0
Hardware: All All
: P1 (highest) Trivial with 1 vote (vote)
Target Milestone: ---
Assignee: eric.savary
QA Contact: issues@sw
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2005-12-12 13:35 UTC by tracey002
Modified: 2005-12-19 13:53 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Latest Confirmation in: ---
Developer Difficulty: ---


Attachments
html table using WIDTH"NN%" (2.76 KB, text/html)
2005-12-12 13:37 UTC, tracey002
no flags Details
html table using fixed width format (5.53 KB, text/html)
2005-12-12 13:38 UTC, tracey002
no flags Details

Note You need to log in before you can comment on or make changes to this issue.
Description tracey002 2005-12-12 13:35:28 UTC
WIDTH<"nn%"> does not seem to work (3982 has the bug as an enhancement request):

I created a table using the Open Office Writer. 
I saved the document. 
Then saved the document under another name 
I opened the 2nd document with notepad then swapped all fixed column widths 
(<COL WIDTH=size> and <TD WIDTH=size>) with percentages. 
When opening the document using IE and MSWord the column widths are correct, 
but when opening with Open Office Writer the column widths are not correct. 

I can send attachments as soon as I figure out how.
Thanks, Tracey 

BTW, I copied the following from the W3C website under 4.01 specifications 
http://www.w3.org/TR/html4/struct/tables.html#h-11.2.4.4 

Calculating the width of columns 
Authors may specify column widths in three ways: 

Fixed 
A fixed width specification is given in pixels (e.g., width="30"). A fixed-
width specification enables incremental rendering. 

Percentage 
A percentage specification (e.g., width="20%") is based on the percentage of 
the horizontal space available to the table (between the current left and right 
margins, including floats). Note that this space does not depend on the table 
itself, and thus percentage specifications enable incremental rendering. 

Proportional 
Proportional specifications (e.g., width="3*") refer to portions of the 
horizontal space required by a table. If the table width is given a fixed value 
via the width attribute of the TABLE element, user agents may render the table 
incrementally even with proportional columns:
Comment 1 tracey002 2005-12-12 13:37:24 UTC
Created attachment 32305 [details]
html table using WIDTH"NN%"
Comment 2 tracey002 2005-12-12 13:38:48 UTC
Created attachment 32306 [details]
html table using fixed width format
Comment 3 michael.ruess 2005-12-12 15:00:44 UTC
Reassigned to ES.
Comment 4 eric.savary 2005-12-12 16:31:41 UTC
Thank you for your submission!

Unfortunately, we have no ressource available to fix or improve the HTML
component, so that we only can fix crashes and huge regressions.

On the other hand, as you stated, this problem is already described in issue 3982.


Thank you for your comprehension.

*** This issue has been marked as a duplicate of 3982 ***
Comment 5 eric.savary 2005-12-12 16:41:26 UTC
Closed
Comment 6 tracey002 2005-12-19 13:53:12 UTC
Ah HA!!!
I was quoting the width (WIDTH="nn%") in error :-(
The width attribute value should NOT be in quotes (WIDTH=nn%).
Just FYI