In message <20210201133331.f3uyvn5fswm53...@hilly.kyllikki.org>
          Vincent Sanders <vi...@netsurf-browser.org> wrote:

> On Mon, Jan 25, 2021 at 03:29:30PM +0000, Harriet Bazley wrote:
>> Netsurf doesn't seem to support HTML of the form
>> <OL>
>> <li type="i" value=5>
>> </OL>
>> but always defaults to a sequential numerical list, whatever type/value
>> the source specifies - are we all supposed to be styling list entries
>> with CSS nowadays?
>
> Depends on the intended usage. The MDN page is a good reference
> 
> https://developer.mozilla.org/en-US/docs/Web/HTML/Element/ol
> 
> Netsurf has never supported anything other than plain decimal
>  numbering for list markers/counters
> 
> I have added a basic implementation of the CSS 2.1 styles
> 
> https://www.w3.org/TR/CSS2/generate.html#propdef-list-style-type
> 
> Michael Drake fixed the HTML hinting so the type on the OL can be used
> (note its on the OL *not* the LI element)
> 
> I cannot close a bug as noone opened one but please do so if there are
>  issues in this area.

Thanks, Vince.  (I was working on some code to add, but you guys beat me
to it.)

I see that, not only has the "00 00" disappeared, but alpha ordered lists
beyond 26 items (i.e. requiring 2 letters) no longer overflow the left
margin.  I was going to raise a Mantis bug, but you fixed it first!

I can see that non-CSS lists work, except that the start tag is not
obeyed.  Whether that is of any consequence?  I doubt it.

David
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-le...@netsurf-browser.org

Reply via email to