-
-
Notifications
You must be signed in to change notification settings - Fork 54
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
CSS implicit list-item counter #1391
Comments
In the current implementation, Vivliostyle.js uses vivliostyle.js/packages/core/src/vivliostyle/css-cascade.ts Lines 3049 to 3071 in 4997036
vivliostyle.js/packages/core/src/vivliostyle/css-cascade.ts Lines 3130 to 3137 in 4997036
|
I found that changing CSS counter is implemented in Vivliostyle.js, not using browser's native CSS counter. However, Vivliostyle.js uses browser's native list style with To solve this issue, Vivliostyle.js needs to rework the implementation of lists and counters. This is not a simple task. Related feature requests: |
It's Okay, thanks for your investigation.
I totally agree! I'm struggling with lists these days, too. |
I was able to make a quick fix. PR #1397. |
Is your feature request related to a problem? Please describe.
I want to prepare an ordered list example with a large number digits. But, it seems that Vivliostyle does not support the implicit
list-item
counter.CSS Lists and Counters Module Level 3 - 4.6. The Implicit
list-item
CounterVivliostyle:
https://vivliostyle.org/viewer/#src=https://gist.githubusercontent.com/yamahige/4e3e2bac575acc84fde84aeda5d711b9/raw/dcd73500606634a5aacf25ac8845852928a85b47/list-item-counter.html
Chrome browser:
Describe the solution you'd like
Support the implicit built-in
list-item
counterDescribe alternatives you've considered
Use custom ordered list with explicit custom counter.
The text was updated successfully, but these errors were encountered: