In message <20210201133331.f3uyvn5fswm53hvt@hilly.kyllikki.org>
> Vincent Sanders <vince@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
My specific usage was in DDF2Html, where Impression's numbered lists are
translated into corresponding HTML lists - and where I was looking at a
particular document which was quoting partial elements from a list, such
that the original reads
i)
ii)
iii) [...]
v)
which is rendered in Netsurf as
1)
2)
3)
4)
Likewise a similar list in the same article contains items
1)
5)
9)
which appear on the website (in Netsurf) misleadingly as
1)
2)
3)
I could try to get the program to calculate the values itself instead of
relying on translating the DDF codes, which map pretty neatly onto the
<OL> definition, but I assumed at the time of writing the software that
Netsurf would at some point be upgraded to implement full ordered list
support.
--
Harriet Bazley == Loyaulte me lie ==
C++ - the language in which only friends can access your private members
_______________________________________________
netsurf-users mailing list -- netsurf-users@netsurf-browser.org
To unsubscribe send an email to netsurf-users-leave@netsurf-browser.org
No comments:
Post a Comment