@lanodan You know...
It complicates standardization at times, but CSS specifically avoids introducing any loop constructs! Because browsers need to ensure relayout is fast!
On the otherhand you may have heard that HTML/CSS is Turing Complete. I quibble a bit on those proofs.