Skip to content

@rendition should be allowed on <list> #4

@rvdb

Description

@rvdb

There's an inconsistency between the documentation and the OpenEdition schema, concerning the encoding of lists.

While the documentation specifies how different list style types can be specified using the //list/@rendition attribute, the ODD file (l.1913) deletes the @rendition attribute from the <list> element.

Moreover, though not schema-related, while the //list/@rendition attribute is correctly transformed to a //(ul|ol)//@style attribute in the HTML generated by Lodel, its list-style-type property is always overridden by these CSS rules in the screen.css stylesheet:

/* listes */
div.text ul > li ,#abstract ul > li {list-style-type:square}
div.text ol > li ,#abstract ol > li {list-style-type:decimal}

Consequently, the list styles discussed in the documentation will never be honoured in the output HTML.

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