W3C home > Mailing lists > Public > public-css-archive@w3.org > September 2016

[csswg-drafts] [css-tables] Fixup rewrite

From: Greg Whitworth via GitHub <sysbot+gh@w3.org>
Date: Tue, 13 Sep 2016 16:31:07 +0000
To: public-css-archive@w3.org
Message-ID: <issues.opened-176688931-1473784265-sysbot+gh@w3.org>
gregwhitworth has just created a new issue for 

== [css-tables] Fixup rewrite ==
**Compat Issues:** No

The text was rewritten but the css 2.1 behavior was preserved.
The creation of the table-wrapper box was added to the algorithm. 

**Proposed Option:**
Accept new text.

Reason was it was very confusing to read with all the variable usage, 
we decided to utilize the definitions to make it more clear. Here is 
an example of the editorial change:

>       For each 'table-cell' box C in a sequence of consecutive 
internal table and 'table-caption' siblings, if C's parent is not a 
'table-row' then generate an anonymous 'table-row' box around C and 
all consecutive siblings of C that are 'table-cell' boxes. 

To this more concise phrasing:  

> An anonymous table-row box must be generated around each sequence of
 consecutive table-cell box whose parent is not a table-row. 

Another example:        

> If a box B is an anonymous inline containing only white space, and 
is between two immediate siblings each of which is either an internal 
table box or a 'table-caption' box then B is treated as if it had 
'display: none'. 
>       If a child C of a tabular container P is an anonymous inline 
box that contains only white space, and its immediately preceding and 
following siblings, if any, are proper table descendants of P and are 
either 'table-caption' or internal table boxes, then it is treated as 
if it had 'display: none'. […]
To this:        

> Anonymous inline boxes which contains only white space and are 
between two immediate siblings each of which is a table-non-root box, 
are treated as if they had display: none. 
>       Anonymous inline boxes which contain only white space, are the
 first and/or last child of a tabular container, and whose immediate 
sibling (if any) is a table-non-root box, are treated as if they had 
display: none. 

This could be considered as an editorial change, but the text is so 
visibly different we wanted to call attention to it; we don't 
necessarily need a resolution.


Please view or discuss this issue at 
https://github.com/w3c/csswg-drafts/issues/466 using your GitHub 
Received on Tuesday, 13 September 2016 16:31:23 UTC

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:41:03 UTC