Re: [csswg-drafts] [css-lists] Consider new value for counter-reset (#5402)

The purpose of both propositions is to produce information measurable about depth (sub-level) of the structure.  

The example I gave with **font-size: calc(20px-counter(countSubLevel))** was a silly one. Just to demonstrate that information produced about sub-level being consumed at other place.

For the remaining of the problem, creating new functions like **power(n, m)** may help. Or one like [*decode*](https://docs.oracle.com/cd/B19306_01/server.102/b14200/functions040.htm) function of Oracle-database-SQL for select by the sub-level which expression to use.

Propose these expressions **power** and **decode** for the complete solution is not in the scope. To have a way to expose depth by reusing list counters is the proposition.


-- 
GitHub Notification of comment by lcchueri
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/5402#issuecomment-670261460 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Friday, 7 August 2020 00:51:25 UTC