Skip to content

The start attribute of the ordered list is ignored #71

@neupauer

Description

@neupauer

The start attribute of the ordered list ( MDN | The Ordered List element ) is ignored (reset).

<ol start="4">

</ol>

Reason:

ol: {
  counterReset: 'list-counter',
},

Possible solution in future (maybe):

ol: {
  counterReset: 'list-counter attr(start number, 0)',
},

But <type-or-unit> param for attr() is not supported today. Solution like #70 is not possieble due to start is not finite. Does anyone have an idea?

EDIT:
Maybe option to opt-in/out for custom/default list style option?

There is also an issue ( #56 ), where both are rendered - but it can illustrate what I mean, an option to enable/disable one of them.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions