Composer changes MultiLengths of "*" to "1*"
Categories
(Core :: DOM: Serializers, defect, P5)
Tracking
()
People
(Reporter: ernestcline, Unassigned)
Details
Comment 1•22 years ago
|
||
Comment 2•20 years ago
|
||
| Reporter | ||
Comment 3•20 years ago
|
||
Updated•16 years ago
|
Comment 4•5 years ago
|
||
Bulk-downgrade of unassigned, >=3 years untouched DOM/Storage bug's priority.
If you have reason to believe this is wrong, please write a comment and ni :jstutte.
Comment 5•9 months ago
|
||
Hmm, I didn't know the special width value... It's not in current HTML Standard anymore, but it was defined by HTML 4.01:
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.
However, if the table does not have a fixed width, user agents must receive all table data before they can determine the horizontal space required by the table. Only then may this space be allotted to proportional columns.
<snip>
Once the (visual) user agent has received the table's data: the available horizontal space will be alloted by the user agent as follows: First the user agent will allot 30 pixels to columns one and two. Then, the minimal space required for the third column will be reserved. The remaining horizontal space will be divided into six equal portions (since 2* + 1* + 3* = 6 portions). Column four (2*) will receive two of these portions, column five (1*) will receive one, and column six (3*) will receive three.<TABLE> <COLGROUP> <COL width="30"> <COLGROUP> <COL width="30"> <COL width="0*"> <COL width="2*"> <COLGROUP align="center"> <COL width="1*"> <COL width="3*" align="char" char=":"> <THEAD> <TR><TD> ... ...rows... </TABLE>
Okay, so, 1* should be reasonable even in the old spec. Although I don't know this is handled by current layout module, the editor module does not need to save only one byte with the invalid form.
Description
•