This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.

Bug 17135 - Border vagueness in definition of table height and in layout algorithms
Summary: Border vagueness in definition of table height and in layout algorithms
Status: NEW
Alias: None
Product: CSS
Classification: Unclassified
Component: CSS Level 2 (show other bugs)
Version: unspecified
Hardware: PC Windows 3.1
: P2 normal
Target Milestone: ---
Assignee: Bert Bos
QA Contact: public-css-bugzilla
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-05-21 12:28 UTC by Anton P
Modified: 2012-12-04 00:53 UTC (History)
0 users

See Also:


Attachments

Description Anton P 2012-05-21 12:28:36 UTC
Reported by Anton Prowse
There is a general class of issues regarding the fact that the automatic, fixed and height layout algorithms desperately try to be agnostic to the particular borders model being used, but do not satisfactorily succeed.

i) 17.5.2.1 (Fixed table layout) talks vaguely about borders.  In the case of the the collapsed borders model, is it referring to the border lumps made up of cell and column borders?  (See also Bug 17133.)  In the case of the the separated borders model, there are no column borders to consider; are the cell borders accounted for when determining the column widths (since columns contain cell borders in this borders model)?  Cf. Bug 15460

ii) 17.5.2.2 (Automatic table layout) also talks vaguely about borders. In the case of the separated borders model columns are supposed to contain cell borders, yet that doesn't seem to be the case here unless the "minimum cell width" in steps 2 and 3 of the column width calculation refers to outer width; this would be in contrast with how that term is defined in step 1.  It looks as if the algorithm is simply assuming the collapsed borders model.

iii) 17.6.2 (Collapsing border model) doesn't talk about horizontal borders (other than table top and table bottom) and 17.5.3 (Table height algorithms) merely says:
  # A value of 'auto' means that the [table] height is the sum of
  # the row heights plus any cell spacing or borders.
More explanation might be needed here.

Conversation begins:
Bug description:
http://lists.w3.org/Archives/Public/www-style/2012Jan/1016.html (Issue 6 b,c,d)
Comment 1 Anton P 2012-05-21 12:28:56 UTC
See also Bug 15577: Border vagueness in definition of table width in fixed table layout.
Comment 2 Anton P 2012-05-21 12:30:17 UTC
I think that a better approach would be for each of the automatic, fixed and height layout algorithms to have a leading paragraph explaining the influence of each of the two borders models on the subsequent calculations which can refer back to the information in that paragraph when necessary.