KEMBAR78
Clarify where remote resource references are allowed · Issue #1857 · w3c/epub-specs · GitHub
Skip to content

Clarify where remote resource references are allowed #1857

@mattgarrish

Description

@mattgarrish

We currently only say what resources can live outside the container, but for improved clarity (and security) we should probably also explicitly say where these references are allowed (see also #1061 (comment)).

The proposal would be to:

  • restrict remote audio to the audio + source elements and the MO audio element
  • restrict remote video to the video + source elements
  • restrict remote fonts to CSS @font-face rules, @import rules, and the html link element
  • restrict remote data to scripting API calls (XHR and Fetch)

Data blocks can't be external per html ("When used to include data blocks, the data must be embedded inline") so we don't need to allow references from script.

Metadata

Metadata

Assignees

No one assigned

    Labels

    EPUB33Issues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X Recommendation

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions