-
Notifications
You must be signed in to change notification settings - Fork 3
@rendition should be allowed on <list> #4
Copy link
Copy link
Closed
Description
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.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels