[css3-background] Editorial: when 'border-style: inset' is treated as 'border-style: ridge' should be made clearer

4.2. The ‘border-style’ properties

  # ‘inset’
  #
  # Looks as if the content on the inside of the border is sunken into
  # the canvas. Treated as ‘ridge’ in border-collapsed tables. [CSS21]

The last sentence is subject to two creative (but wrong) interpretations:

1. Anything (say, a 'block') that's a descendant of  a 'table' or
'inline-table' with 'border-collapse: collapse' might be considered /in/
a border-collapsed tables.

2. A 'table-caption' element in a 'inline-table' with 'border-collapse:
collapse' might be considered /part of/ a border-collapsed table.


CSS2.1 uses the phrase "in the collapsing border model", which I believe
to be less ambiguous than the current sentence. Or perhaps we could be
very explicit, like

  | Treated as ‘ridge’ for border-collapsed table elements except
  | table captions.

or

  | Treated as ‘ridge’for table elements (excluding table captions)
  | when 'border-collapse' is 'collapse'


The latter is from Applies To line for 'border-image-source'. I don't
quite like this wording because the 'border-collapse: collapse'
condition might be misinterpreted as one on the targeted element but not
it's closest ancestor 'table' or 'inline-table'.


Cheers,
Kenny

Received on Tuesday, 6 March 2012 04:38:16 UTC