Skip to content

[BUG] list-style-type not working #704

@spekary

Description

@spekary

Describe the bug:

I can't seem to change the list style type, even though it is listed as a supported in-line css attribute.

HTML to reproduce the issue:

<ol style="list-style-type: lower-alpha">
    <li>First</li>
    <li>Second</li>
    <li>Third
        <ol style="list-style-type: lower-roman">
            <li>
                Fourth
            </li>
            <li>
                Fifth
            </li>
        </ol>
    </li>
</ol>

<ol type="a">
    <li>First</li>
    <li>Second</li>
    <li>Third
        <ol type="i">
            <li>
                Fourth
            </li>
            <li>
                Fifth
            </li>
        </ol>
    </li>
</ol>

Expected behavior:
The first list with alpha numbers and indented list with roman numbers.

Screenshots:
How it should look:
pic1

How it looks in flutter_html 2.0.0:
pic2

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions