Fomantic-UI icon indicating copy to clipboard operation
Fomantic-UI copied to clipboard

Ordered list does not support "start" attribute

Open exoego opened this issue 5 years ago • 3 comments

Bug Report

<ol>-based ordered list does not support native start attribute. Ref. https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol

Steps to reproduce

<ol class="ui ordered list" start="100"> https://jsfiddle.net/y42Lu9ds/

Expected result

The counting of ordered list starts from 100

Actual result

Starts from 1

Version

2.7.8

Related

#1130: Ordered list does not take care of digits-length.

exoego avatar Oct 29 '19 10:10 exoego

Initial number of counter can be set like counter-reset: ordered 100, but using attr(data) seems impossible since attr function returns string by default.

In future, we may speciry type and default value in attr like below, but such features seem unsupported in current browsers.

ol {
  counter-reset: ordered attr(start integer, 1);
}

exoego avatar Oct 29 '19 11:10 exoego

Hi, @lubber-de and @exoego can I take up this issue?

hemantmm avatar Oct 04 '23 09:10 hemantmm

Hi, @lubber-de and @exoego can I take up this issue?

Sure 😊

lubber-de avatar Oct 04 '23 10:10 lubber-de