mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-30 09:16:58 -10:00
Only visible table rows are rendered, therefore we cannot rely on :nth-child(2) to create background stripes. This commit adds the source index to the treeNode props. Using this index, the treeNode can add a "tree-node-odd" className to its element. In css, tree-node-odd is then used to add the alternate background color to a row,