-
Notifications
You must be signed in to change notification settings - Fork 64
Closed
Labels
EPUB33Issues fixed in the EPUB 3.3 revisionIssues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X RecommendationThe issue affects the core EPUB 3.X Recommendation
Description
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 MOaudio
element - restrict remote video to the
video
+source
elements - restrict remote fonts to CSS
@font-face
rules,@import
rules, and the htmllink
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
Labels
EPUB33Issues fixed in the EPUB 3.3 revisionIssues fixed in the EPUB 3.3 revisionSpec-EPUB3The issue affects the core EPUB 3.X RecommendationThe issue affects the core EPUB 3.X Recommendation