Skip to content
This repository was archived by the owner on May 6, 2025. It is now read-only.
This repository was archived by the owner on May 6, 2025. It is now read-only.

SMIL Media Overlays skippables and escapables (epub:type values)  #270

Open
@danielweck

Description

@danielweck

https://github.com/readium/readium-sdk/blob/develop/ePub3/ePub/media-overlays_smil_model.cpp#L1173

        // http://www.idpf.org/epub/vocab/structure
        // http://www.idpf.org/epub/30/spec/epub30-mediaoverlays.html#sec-skippability
        const std::vector<string> MediaOverlaysSmilModel::_Skippables = {
                "sidebar",
                "practice",
                "marginalia",
                "annotation",
                "help",
                "note",
                "footnote",
                "rearnote",
                "table",
                "table-row",
                "table-cell",
                "list",
                "list-item",
                "pagebreak"
        };

        // http://www.idpf.org/epub/vocab/structure
        // http://www.idpf.org/epub/30/spec/epub30-mediaoverlays.html#sec-escabaility
        const std::vector<string> MediaOverlaysSmilModel::_Escapables = {
                "sidebar",
                "bibliography",
                "toc",
                "loi",
                "appendix",
                "landmarks",
                "lot",
                "index",
                "colophon",
                "epigraph",
                "conclusion",
                "afterword",
                "warning",
                "epilogue",
                "foreword",
                "introduction",
                "prologue",
                "preface",
                "preamble",
                "notice",
                "errata",
                "copyright-page",
                "acknowledgments",
                "other-credits",
                "titlepage",
                "imprimatur",
                "contributors",
                "halftitlepage",
                "dedication",
                "help",
                "annotation",
                "marginalia",
                "practice",
                "note",
                "footnote",
                "rearnote",
                "footnotes",
                "rearnotes",
                "bridgehead",
                "page-list",
                "table",
                "table-row",
                "table-cell",
                "list",
                "list-item",
                "glossary"
        };

This seems wrong. Why are table or list items de-facto skippables?!

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions