diff --git a/dot_travis.yml b/.travis.yml similarity index 100% rename from dot_travis.yml rename to .travis.yml diff --git a/index.html b/index.html index 3ac426b..5b2488f 100644 --- a/index.html +++ b/index.html @@ -61,6 +61,12 @@ "company": "Hachette Livre", "companyURL": "https://hachette.com/", "w3cid": 65283 + }, + { + "name": "Hadrien Gardeur", + "company": "Feedbooks", + "companyURL": "http://www.feedbooks.com/", + "w3cid": 97094 }, { "name": "Florian Rivoal", @@ -314,7 +320,7 @@
The general term URL is defined by the URL - Standard [[!url]]. It is used as in other W3C + Standard [[!URL]]. It is used as in other W3C specifications, like HTML [[!html]]. In particular, a URL allows for the usage of characters from Unicode following [[!rfc3987]]. See Web Publication Lifecycle viable and what solutions can be standardized. Input on the feasibility and challenges of these approaches is welcome at any time.
+ +Discovery of a manifest is currently tied to the publication
value for the rel
attribute in an HTTP Link
header or an HTML link
element.
This could change in the future if our work aligns with [[appmanifest]] or another manifest format.
+
The steps for obtaining a manifest are given by the following algorithm. + The algorithm, if successful, returns a processed manifest and the manifest URL; otherwise, it terminates prematurely and returns nothing. In the case of nothing being returned, the user agent MUST ignore the manifest declaration.
+Document
of the top-level browsing context, let origin be the Document
's origin, and manifest link be the first link
element in tree order whose rel
attribute contains the token publication
.
+ null
, terminate this algorithm.
+ href
attribute's value is the empty string, then abort these steps.
+ href
attribute, relative to the element's base URL. If parsing fails, then abort these steps.
+ publication
".
+ crossOrigin
attribute's value is 'use-credentials
', then set request's credentials to 'include
'.
+ publication
value for context doesn't exist yet. We'll need to define and register this context value properly.The manifest could be processed differently if we align with [[appmanifest]] or another format in the future.
+Instead of using our own algorithm, processing would have to be defined as an extension point for another algorithm.
++ The steps for processing a manifest are given by the following algorithm.The algorithm takes a text string as an argument, which represents a manifest, and a [[!URL]] manifest URL, which represents the location of the manifest, and a [[!URL]] document URL. The output from inputting an JSON document into this algorithm is a processed manifest. +
+"{}"
.
+ Object
:
+ "{}"
.
+ + The steps for processing the default reading order are given by the following algorithm. +
+rel
member contains the token contents
.
+ null
and its href
member is not empty
, let navigation document URL be the result of parsing the value of the href
attribute, relative to the manifest URL.
+ publication
".
+ nav
element:
+ href
attribute of all a
elements.This section contains placeholders for possible reading enhancements/affordances the user agent - may/should/must provide. The list is subject to addition, modification and removal as the enhancements get - discussed in more detail.
- -The layout and rendering of Web Publications is governed by the same rules that apply to all Web - content: [[!html]] documents are styled and laid out according to the rules of CSS, [[!svg]] - documents are rendered as expected of that format, etc. This specification requires no particular profile - or subset of CSS, HTML, or SVG to be supported, other than the - expectations set for these technologies by their respective specifications.
- - -This specification intentionally avoids introducing any new layout features. Any shortcoming of the - Web platform in terms of layout needs to be addressed for the whole Web platform, which means via - CSS.
- -This working group will work with other relevant groups of the W3C to address platform-wide limitations that negatively impact Web - Publications.
-For the purposes of layout, each resource of a Web Publication is treated as a separate document. User - agents MUST NOT mix content from multiple resources in the same rendering (e.g., CSS floats or absolutely positioned - elements from one resource cannot intrude or overlap with content from an other resource).
- -Despite this general requirement that each resource should be treated as a separate document for the - purpose of layout, there are some places where CSS - specifications should be amended to be able to deal more intelligently with collections of resources - like Web Publications.
- -One instance is the definition of cross-references, which are currently restricted to work only within a single document. This - restriction should be relaxed to allow for cross-references between separate resources of a single - Web Publication.
- -Another related would be to allow counters to accumulate across multiple resources of a single Web Publication (e.g., so that - figures in multiple sections may be numbered in a single sequence).
-Publications have historically been presented via paged media, whereas Web pages almost always scroll. - As the preferences of individual readers vary, and as different types of publications are better - suited for one or the other, this specification encourages user agents to support both, and to offer - a choice to their users.
- -It may be useful for authors to be able to specify a preference between scrolling and pagination,
- even if a strict requirement is not possible. This should most likely be addressed through an
- extension of @viewport
or of the viewport meta tag(see
- [[css-device-adapt]]), or possibly through an extension of @page
(See
- [[css-page-3]]). This should be discussed with the relevant working groups (CSSWG, WebPlatformWG, WHATWG).
When a user agent renders a Web Publication in a paginated layout, it MUST lay out each - document in the default reading order sequentially, with the last page of a resource being - followed by the first page of the subsequent one.
- -To avoid blank pages, if a resource ends on a left page (resp. right page), the subsequent one - should start on a right page (resp. left page) even if the page progression (see - [[!css-page-3]]) would otherwise lead to it starting on the opposite page. It should also be - possible to use the break-before property (see [[!css-break-3]]) to force the content to resume on the - opposite side if that was desired by the author.
- -[[css-page-3]] needs to be amended to describe this exception to the general behavior when dealing - with collections of documents instead of individual documents.
-How is pagination supposed to work when subsequent resources have opposite page progression directions (see - [[css-page-3]]). For example, due to different a different writing mode? This is not necessarily - a problem from a layout point of view, as each page is independent, but from an UI point of view. - If swiping left means next page until the end of one chapter, and starts meaning previous page in - the next chapter because the language is switched from English to Hebrew, this is going to be - confusing.
-Should any of the above be normative, or should this be up to user agents to explore, and only - standardize if and when a clear winning approach emerges?
-[[css-page-3]] needs to be amended so that page counters are not - automatically reset to at the beginning of each new resource belonging to the same Web - Publication.
-