NEW 8320
MultiLengths Ignored on COLGROUP and COL Width Attribute
https://bugs.webkit.org/show_bug.cgi?id=8320
Summary MultiLengths Ignored on COLGROUP and COL Width Attribute
D. Brodale
Reported 2006-04-10 22:02:43 PDT
Use of multilengths (or relative lengths) for the value of width attributes set for a table colgroup or col seem to be ignored by Safari. Percentage lengths work as expected. Although reported against OS X 10.4.x, the same errant behavior can be seen with OS X 10.3.9, as well. Recent versions of Opera, Camino, Firefox, and Internet Explorer (both Windows and OS X builds) respect the use of multilengths, which are defined in the W3C's HTML 4.0.1 Specification. See: Basic HTML Data Types (MultiLength): http://www.w3.org/TR/html4/types.html#type-multi-length Calculating the Width of Columns (Proportional): http://www.w3.org/TR/html4/struct/tables.html#h-11.2.4.4
Attachments
Test Case: Multilengths Assigned to COL Widths (949 bytes, text/html)
2006-04-10 22:07 PDT, D. Brodale
no flags
D. Brodale
Comment 1 2006-04-10 22:07:15 PDT
Created attachment 7638 [details] Test Case: Multilengths Assigned to COL Widths Simple example of multilength use as value to width attributes on COLs. Expected ratio of column widths is 2:1:3 (100px:50px:150px). Safari renders as 1:1:1 (100px:100px:100px) instead.
mvijay
Comment 2 2009-06-23 22:56:14 PDT
Hi, I have been analysing the bug and here are some of my observations. As described in the w3.org, while calculating or parsing the width of columns using proportional specification (ex, width="1*"), the CSSParser::parseValue() is returning "False" and the value is not handled. Whereas in other case, if the width of columns is percentage specification(ex, width="10%") then CSSParser::parseValue() internally parses the col width and applies the values accordingly. This behaviour is same in Firefox as well. So, is it Safari browser intentionally has not given implementation for the proportional specification while calculating column width?
Pravin D
Comment 3 2012-08-24 10:04:44 PDT
Are we going to support relative
Brent Fulgham
Comment 4 2022-07-06 13:44:53 PDT
Safari and Chrome agree on behavior here, but Firefox uses varied column widths. I'm not sure which behavior is correct.
Radar WebKit Bug Importer
Comment 5 2022-07-06 13:45:03 PDT
Note You need to log in before you can comment on or make changes to this bug.