By gábor hojtsy on
Change record status:
Published (View all published change records)
Project:
Introduced in branch:
8.x
Introduced in version:
8.0
Issue links:
Description:
Block, node and taxonomy term templates used to provide display counters ($id), global zebra classing ($zebra being either "odd" or "even") and local zebra classing and display counting in the case of blocks as related to regions ($block_id and $block_zebra). In current browsers, you can use odd/even CSS3 selectors to achieve similar effects. See http://www.w3.org/Style/Examples/007/evenodd.en.html
The issue comments at #1968322: Remove unused $id and $zebra variables from templates provide tips on using Javascript to add the classes back if you need to support much older browsers.
Impacts:
Themers