Skip to content

Unknown properties with rendition: prefix are invalid #1327

Description

@mattgarrish

One of the changes in w3c/epub-specs#2134 is to disallow authors from adding custom properties with the rendition: prefix.

In practice, this means only the following are valid in the package metadata:

  • rendition:layout
  • rendition:orientation
  • rendition:spread
  • rendition:viewport (but deprecated)
  • rendition:flow
  • rendition:align-x-center

And only the following are allowed as spine overrides:

  • rendition:layout-pre-paginated
  • rendition:layout-reflowable
  • rendition:orientation-auto
  • rendition:orientation-landscape
  • rendition:orientation-portrait
  • rendition:spread-auto
  • rendition:spread-both
  • rendition:spread-landscape
  • rendition:spread-none
  • rendition:spread-portrait (Deprecated)
  • rendition:page-spread-center
  • rendition:page-spread-left
  • rendition:page-spread-right
  • rendition:flow-paginated
  • rendition:flow-scrolled-continuous
  • rendition:flow-scrolled-doc
  • rendition:flow-auto

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

spec: EPUB 3.3Impacting the support of EPUB 3.3status: completedWork completed, can be closed

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions