-
-
Notifications
You must be signed in to change notification settings - Fork 704
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
Setting counter-reset on lists breaks nested lists counters #1685
Comments
Hi! The |
Damn! |
This bug is really dirty. Here’s where it comes from. The CSS specification gives an example of the default user agent stylesheet. It includes a It’s a really clean solution and it works. Almost. The problem occurs when you set another I think that other browsers work because they don’t follow this good advice of the W3C and use a hard-wired counter in a pure 20th century style. |
(Note that there’s an easy workaround in your case using the |
Hello,
I'm using weasyprint version 56.0. I'm converting html to pdf which looks like:
and the results are
Rendered html file looks like this:
It seems that type attribute is not being applied and also roman paragraphs are counted as a valid paragraph instead of sub paragraph
The text was updated successfully, but these errors were encountered: