W3C home > Mailing lists > Public > public-css-archive@w3.org > August 2020

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

From: Leonardo Couto Chueri via GitHub <sysbot+gh@w3.org>
Date: Fri, 07 Aug 2020 00:51:24 +0000
To: public-css-archive@w3.org
Message-ID: <issue_comment.created-670261460-1596761483-sysbot+gh@w3.org>
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

This archive was generated by hypermail 2.4.0 : Tuesday, 5 July 2022 06:42:13 UTC