This is an archived snapshot of W3C's public bugzilla bug tracker, decommissioned in April 2019. Please see the home page for more details.
Reported by Peter Moulder 12.4.3 (Counters in elements with 'display: none') says: # An element that is not displayed ('display' set to 'none') cannot # increment or reset a counter. # [...] # Pseudo-elements that are not generated also cannot increment or # reset a counter. # [...] # Elements with 'visibility' set to 'hidden', on the other hand, do # increment counters. Clearly the heading for 12.4.3 is not ideal since it described counter display in various cases, not just in elements with 'display:none'. Peter queries whether other types prevent the increment or a reset of a counter: * descendents of display:none elements * suppressed descendents of 'display:table-column' and 'display:table-column-group' elements * 'display:table-column' and 'display:table-column-group' elements (noting that 17.2 (The CSS table model) says: # Elements with 'display' set to 'table-column' or # 'table-column-group' are not rendered (exactly as if they had # 'display: none') Conversation begins: http://lists.w3.org/Archives/Public/www-style/2011May/0506.html Bug description: http://lists.w3.org/Archives/Public/www-style/2011May/0506.html http://lists.w3.org/Archives/Public/www-style/2011May/0524.html