Information technology — Digital publishing — EPUB3 — Part 3: Content Documents

This specification, EPUB Content Documents 3.0, defines profiles of HTML5, SVG, and CSS for use in the context of EPUB® Publications. This specification is one of a family of related specifications that compose EPUB 3, the third major revision of an interchange and delivery format for digital publications based on XML and Web Standards. It is meant to be read and understood in concert with the other specifications that make up EPUB 3: The EPUB 3 Overview [EPUB3Overview], which provides an informative overview of EPUB and a roadmap to the rest of the EPUB 3 documents. The Overview should be read first. EPUB Publications 3.0 [Publications30], which defines publication-level semantics and overarching conformance requirements for EPUB Publications. EPUB Open Container Format (OCF) 3.0 [OCF3], which defines a file format and processing model for encapsulating a set of related resources into a single-file (ZIP) EPUB Container. EPUB Media Overlays 3.0 [MediaOverlays30], which defines a format and a processing model for synchronization of text and audio. This specification supersedes Open Publication Structure (OPS) 2.0.1 [OPS2]. Refer to [EPUB3Changes] for information on differences between this specification and its predecessor.

Technologies de l'information — Publications numériques — EPUB3 — Partie 3: Documents de contenu

General Information

Status
Published
Publication Date
04-Nov-2014
Current Stage
9093 - International Standard confirmed
Start Date
01-Apr-2022
Completion Date
01-Apr-2022
Ref Project

Relations

Buy Standard

Technical specification
ISO/IEC TS 30135-3:2014 - Information technology -- Digital publishing -- EPUB3
English language
45 pages
sale 15% off
Preview
sale 15% off
Preview

Standards Content (Sample)


TECHNICAL ISO/IEC
SPECIFICATION TS
30135-3
First edition
2014-11-15
Information technology — Digital
publishing — EPUB3 —
Part 3:
Content Documents
Technologies de l'information — Publications numériques — EPUB3 —
Partie 3: Documents de contenu

Reference number
©
ISO/IEC 2014
©  ISO/IEC 2014
All rights reserved. Unless otherwise specified, no part of this publication may be reproduced or utilized otherwise in any form or by any
means, electronic or mechanical, including photocopying, or posting on the internet or an intranet, without prior written permission.
Permission can be requested from either ISO at the address below or ISO’s member body in the country of the requester.
ISO copyright office
Case postale 56  CH-1211 Geneva 20
Tel. + 41 22 749 01 11
Fax + 41 22 749 09 47
E-mail copyright@iso.org
Web www.iso.org
Published in Switzerland
ii © ISO/IEC 2014 – All rights reserved

Foreword
ISO (the International Organization for Standardization) and IEC (the International Electrotechnical
Commission) form the specialized system for worldwide standardization. National bodies that are members of
ISO or IEC participate in the development of International Standards through technical committees
established by the respective organization to deal with particular fields of technical activity. ISO and IEC
technical committees collaborate in fields of mutual interest. Other international organizations, governmental
and non-governmental, in liaison with ISO and IEC, also take part in the work. In the field of information
technology, ISO and IEC have established a joint technical committee, ISO/IEC JTC 1.
International Standards are drafted in accordance with the rules given in the ISO/IEC Directives, Part 2.
The main task of the joint technical committee is to prepare International Standards. Draft International
Standards adopted by the joint technical committee are circulated to national bodies for voting. Publication as
an International Standard requires approval by at least 75 % of the national bodies casting a vote.
In other circumstances, particularly when there is an urgent market requirement for such documents, the joint
technical committee may decide to publish an ISO/IEC Technical Specification (ISO/IEC TS), which
represents an agreement between the members of the joint technical committee and is accepted for
publication if it is approved by 2/3 of the members of the committee casting a vote.
An ISO/IEC TS is reviewed after three years in order to decide whether it will be confirmed for a further three
years, revised to become an International Standard, or withdrawn. If the ISO/IEC TS is confirmed, it is
reviewed again after a further three years, at which time it must either be transformed into an International
Standard or be withdrawn.
Attention is drawn to the possibility that some of the elements of this document may be the subject of patent
rights. ISO and IEC shall not be held responsible for identifying any or all such patent rights.
ISO/IEC TS 30135 series were prepared by Korean Agency for Technology and Standards (as KS X 6070
series) with International Digital Publishing Forum and were adopted, under a special “fast-track procedure”,
by Joint Technical Committee ISO/IEC JTC 1, Information technology, in parallel with its approval by the
national bodies of ISO and IEC.
ISO/IEC TS 30135 consists of the following parts, under the general title Information technology — Document
description and processing languages — EPUB 3:
—  Part 1: Overview
—  Part 2: Publications
—  Part 3: Content Documents
—  Part 4: Open Container Format
—  Part 5: Media Overlay
—  Part 6: Canonical Fragment Identifier
—  Part 7: Fixed-Layout Documents

EPUB Content Documents 3.0
Recommended Specification 11 October 2011
THIS VERSION
http://www.idpf.org/epub/30/spec/epub30-contentdocs-20111011.html
LATEST VERSION
http://www.idpf.org/epub/30/spec/epub30-contentdocs.html
PREVIOUS VERSION
http://www.idpf.org/epub/30/spec/epub30-contentdocs-20110908.html
A diff of changes from the previous draft is available at this link.
Please refer to the errata for this document, which may include some normative corrections.
All rights reserved. This work is protected under Title 17 of the United States Code. Reproduction and
dissemination of this work with changes is prohibited except with the written permission of the International
Digital Publishing Forum (IDPF).
EPUB is a registered trademark of the International Digital Publishing Forum.
Editors
Markus Gylling, DAISY Consortium
William McCoy, International Digital Publishing Forum (IDPF)
Elika J. Etemad, Invited Expert
Matt Garrish, Invited Expert
TAB LE O F CO NTENTS
1. Overview
1.1. Purpose and Scope
1.2. Relationship to Other Specifications
1.2.1. Relationship to HTML5
1.2.2. Relationship to SVG
1.2.3. Relationship to CSS
1.2.4. EPUB 3 Versioning Strategy
1.3. Terminology
1.4. Conformance Statements
1.5. Namespace prefix mappings
2. EPUB Content Documents
2.1. XHTML Content Documents
2.1.1. Content Conformance
2.1.2. Reading System Conformance
2.1.3. HTML5 Extensions and Enhancements
2.1.3.1. Semantic Inflection
2.1.3.1.1. Introduction
2.1.3.1.2. The epub:type Attribute
2.1.3.1.3. Vocabulary Association
2.1.3.1.4. Processing Requirements
2.1.3.2. SSML Attributes
2.1.3.2.1. Overview
2.1.3.2.2. The ssml:ph attribute
2.1.3.2.3. The ssml:alphabet attribute
2.1.3.3. Content Switching
2.1.3.3.1. Introduction
2.1.3.3.2. Definition
2.1.3.3.2.1. The epub:switch Element
2.1.3.3.2.2. The epub:case Element
2.1.3.3.2.3. The epub:default Element
2.1.3.3.3. Processing
2.1.3.4. The epub:trigger Element
2.1.3.5. Alternate Style Tags
2.1.4. HTML5 Deviations and Constraints
2.1.4.1. Embedded MathML
2.1.4.1.1. Introduction
2.1.4.1.2. Content Conformance
2.1.4.1.3. Reading System Conformance
2.1.4.1.4. Alternative Content
2.1.4.2. Embedded SVG
2.1.4.2.1. Embedded SVG and CSS
2.1.4.3. Unicode Restrictions
2.1.4.4. Discouraged Constructs
2.2. EPUB Navigation Documents
2.2.1. Introduction
2.2.2. Content Conformance
2.2.3. Reading System Conformance
2.2.4. EPUB Navigation Document Definition
2.2.4.1. The nav Element: Restrictions
2.2.4.2. The nav Element: Types
2.2.4.2.1. The toc nav Element
2.2.4.2.2. The page-list nav Element
2.2.4.2.3. The landmarks nav Element
2.2.4.2.4. Other nav Elements
2.2.4.3. The hidden attribute
2.3. SVG Content Documents
2.3.1. Introduction
2.3.2. Content Conformance
2.3.3. Restrictions on SVG 1.1
2.3.4. Reading System Conformance
2.4. Scripted Content Documents
2.4.1. Scripting Contexts
2.4.2. Content Conformance
2.4.3. Reading System Conformance
2.4.4. Security Considerations
2.4.5. Event Model Considerations
3. EPUB Style Sheets
3.1. Content Conformance
3.2. Reading System Conformance
3.3. EPUB 3 CSS Profile
3.3.1. CSS 2.1
3.3.2. CSS 2.0
3.3.3. CSS 3.0 Speech
3.3.4. CSS Fonts Level 3
3.3.5. CSS Text Level 3
3.3.6. CSS Writing Modes
3.3.7. Media Queries
3.3.8. CSS Namespaces
3.3.9. CSS Multi-Column Layout
3.3.10. Ruby Positioning
3.3.11. Display Property Values oeb-page-head and oeb-page-foot
4. PLS Documents
4.1. Overview
4.2. EPUB Publication Conformance
4.3. Content Conformance
4.4. Reading System Conformance
A. Schemas
A.1. XHTML Content Document Schema
A.2. EPUB Navigation Document Schema
A.3. SVG Content Document Schema
B. JavaScript epubReadingSystem Object
B.1. Syntax
B.2. Description
B.3. Properties
B.4. Methods
B.4.1. hasFeature
B.4.1.1. Syntax
B.4.1.2. Description
B.4.1.3. Features
C. Acknowledgements and Contributors
References
› 1 Overview
› 1.1 Purpose and Scope
This section is informative
This specification, EPUB Content Documents 3.0, defines profiles of HTML5, SVG, and CSS for use in
the context of EPUB® Publications.
This specification is one of a family of related specifications that compose EPUB 3, the third major
revision of an interchange and delivery format for digital publications based on XML and Web Standards. It
is meant to be read and understood in concert with the other specifications that make up EPUB 3:
The EPUB 3 Overview [EPUB3Overview], which provides an informative overview of EPUB and a
roadmap to the rest of the EPUB 3 documents. The Overview should be read first.
EPUB Publications 3.0 [Publications30], which defines publication-level semantics and
overarching conformance requirements for EPUB Publications.
EPUB Open Container Format (OCF) 3.0 [OCF3], which defines a file format and processing
model for encapsulating a set of related resources into a single-file (ZIP) EPUB Container.
EPUB Media Overlays 3.0 [MediaOverlays30], which defines a format and a processing model for
synchronization of text and audio.
This specification supersedes Open Publication Structure (OPS) 2.0.1 [OPS2]. Refer to
[EPUB3Changes] for information on differences between this specification and its predecessor.
› 1.2 Relationship to Other Specifications
This section is informative
› 1.2.1 Relationship to HTML5
The XHTML document type defined by this specification is based on W3C [HTML5], and inherits all
definitions of semantics, structure and processing behaviors from the HTML5 specification unless
otherwise specified.
In addition, this specification defines a set of extensions to the W3C HTML5 document model that
Authors may include in XHTML Content Documents.
This specification defines a simplified processing model that does not require Reading Systems to
support scripting, HTML5 forms or the HTML5 DOM. EPUB Reading Systems conformant with this
specification are only required to be able to process a conforming EPUB Content Document. As support
for scripting and HTML5 forms are optional Reading System features, a conformant Reading System
might not be a fully-conformant HTML5 User Agent (i.e., it might not implement the complete HTML5
processing model).
› 1.2.2 Relationship to S VG
This specification defines a restricted subset of SVG 1.1 to represent vector graphics inline in XHTML
Content Documents and as standalone SVG Content Documents.
› 1.2.3 Relationship to CS S
The CSS profile defined in this specification has CSS 2.1 [CSS2.1] as its baseline. Any CSS Style Sheet
that conforms to CSS 2.1 may be used in the context of an EPUB Publication, except as noted in CSS
2.1.
This specification also incorporates features defined by CSS3 Modules and introduces EPUB-specific
CSS constructs.
1.2.4 EPUB 3 Versioning S trategy

EPUB 3 references W3C specifications that are not yet final, and incompatible changes to them may
occur in the future that would cause EPUB 3 Content Documents that were previously conformant to no
longer be conformant to the latest versions of the referenced specifications.
The IDPF anticipates revising the EPUB 3 specifications if and when such incompatible changes occur,
updating the normative constraints defined herein as necessary and incrementing the minor version
number of EPUB 3 (e.g., publishing an EPUB 3.0.n).
1.3 Terminology

EPUB Publication (or Publication)
A logical document entity consisting of a set of interrelated resources and packaged in an
EPUB Container, as defined by this specification and its sibling specifications.
Publication Resource
A resource that contains content or instructions that contribute to the logic and rendering of
the EPUB Publication. In the absence of this resource, the Publication might not render as
intended by the Author. Examples of Publication Resources include the Package Document,
EPUB Content Documents, EPUB Style Sheets, audio, video, images, embedded fonts and
scripts.
With the exception of the Package Document itself, Publication Resources must be listed in
the manifest [Publications30] and must be bundled in the EPUB container file unless
specified otherwise in Publication Resource Locations [Publications30].

Examples of resources that are not Publication Resources include those identified by the
Package Document link [Publications30] element and those identified in outbound hyperlinks
that resolve outside the EPUB Container (e.g., referenced from an [HTML5] a element href
attribute).
Core Media Type Resource
A Publication Resource that is a Core Media Type and may therefore be included in the
EPUB Publication without the provision of fallbacks [Publications30].
EPUB Content Document
A Publication Resource that conforms to one of the EPUB Content Document definitions
(XHTML or SVG).
An EPUB Content Document is a Core Media Type, and may therefore be included in the
EPUB Publication without the provision of fallbacks [Publications30].
XHTML Content Document
An EPUB Content Document conforming to the profile of [HTML5] defined in XHTML Content
Documents.
XHTML Content Documents use the XHTML syntax of [HTML5].
SVG Content Document
An EPUB Content Document conforming to the constraints expressed in SVG Content
Documents.
EPUB Navigation Document
A specialization of the XHTML Content Document, containing human- and machine-readable
global navigation information, conforming to the constraints expressed in EPUB Navigation
Documents.
Scripted Content Document
An EPUB Content Document that includes scripting or an XHTML Content Document that
contains HTML5 forms elements.
Refer to Scripted Content Documents for more information.
Top-level Content Document
An EPUB Content Document referenced directly from the spine
Core Media Type
A set of Publication Resource types for which no fallback is required. Refer to Publication
Resources [Publications30] for more information.
Package Document
A Publication Resource carrying bibliographical and structural metadata about the EPUB
Publication, as defined in Package Documents [Publications30].
Manifest
A list of all Publication Resources that constitute the EPUB Publication.
Refer to manifest [Publications30] for more information.
Spine
An ordered list of Publication Resources, typically EPUB Content Documents, representing
the default reading order of the Publication.
Refer to spine [Publications30] for more information.
Text-to-Speech (TTS)
The rendering of the textual content of an EPUB Publication as artificial human speech using
a synthesized voice.
EPUB Style Sheet (or Style Sheet)
A CSS Style Sheet conforming to the CSS profile defined in EPUB Style Sheets.
Viewport
The region of an EPUB Reading System in which the content of an EPUB Publication is
render
...

Questions, Comments and Discussion

Ask us and Technical Secretary will try to provide an answer. You can facilitate discussion about the standard in here.