Skip to content

Unknown properties with rendition: prefix are invalid #1327

Closed

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

  1. self-assigned this
    on Sep 22, 2022
  2. added this to the v5.0.0-beta milestone on Sep 22, 2022
  3. added a commit that references this issue on Nov 28, 2022
    3086258
  4. added and removed
    status: in progressThe issue is being implemented by the development team
    on Dec 1, 2022
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

    ⌂ 换网址