Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

support responsive images (@srcset / <picture> element) #429

Closed
GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments
Closed

support responsive images (@srcset / <picture> element) #429

GoogleCodeExporter opened this issue Mar 24, 2015 · 3 comments
Labels
EPUB32 Issues from 3.0.1 resolved in the EPUB 3.2 specification Topic-ContentDocs The issue affects EPUB content documents Type-FeatureRequest The issue requests new functionality be added
Milestone

Comments

@GoogleCodeExporter
Copy link

We now have multiple renditions (AHL) but this is coarse-grained (full 
alternative renditions). Websites are increasingly using fine-grained 
techniques that include loading the most appropriate image. this can be 
programmed via JS in a variety of ways but a declarative spec (<picture>) is 
making its way through W3C (http://www.w3.org/TR/html-picture-element/). 
Supporting this in EPUB (and potentially enabling remote resources for this as 
with video/audio) could improve results on various resolution screens. Mainly 
posting this in case we may want to influence the spec via W3C Dig Pub Activity 
to ensure it meets portable document reqs. It could also intersect usefully 
with CSS Page Templates.

Original issue reported on code.google.com by whmc...@gmail.com on 29 Dec 2013 at 5:00

@GoogleCodeExporter
Copy link
Author

it looks like @srcset may be the winning spec - 
http://www.w3.org/html/wg/drafts/srcset/w3c-srcset/ - and support has landed in 
Safari/WebKit and under experimental flag in Chrome/Blink, but still 
controversial and there is alternative "Src-N" proposal  ( 
https://bugzilla.mozilla.org/show_bug.cgi?id=870021  ). Anyway whatever 
stabilizes here is likely to be appropriate declarative approach for responsive 
EPUB.

Original comment by whmc...@gmail.com on 29 Dec 2013 at 5:07

  • Changed title: support responsive images (@srcset / element)

@GoogleCodeExporter
Copy link
Author

Original comment by mgarrish on 21 Jul 2014 at 1:43

  • Added labels: Spec-ContentDocs

@GoogleCodeExporter GoogleCodeExporter added Priority-Medium auto-migrated Type-FeatureRequest The issue requests new functionality be added Topic-ContentDocs The issue affects EPUB content documents labels Mar 24, 2015
@mattgarrish mattgarrish modified the milestone: EPUB 3.1 Nov 3, 2015
@mattgarrish
Copy link
Member

Closing as support will come with adoption of 5.1, which is covered in #696.

@mattgarrish mattgarrish added the EPUB32 Issues from 3.0.1 resolved in the EPUB 3.2 specification label Aug 14, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
EPUB32 Issues from 3.0.1 resolved in the EPUB 3.2 specification Topic-ContentDocs The issue affects EPUB content documents Type-FeatureRequest The issue requests new functionality be added
Projects
None yet
Development

No branches or pull requests

2 participants