|
37 | 37 | "rationale": "if", |
38 | 38 | "steps": [ |
39 | 39 | { |
40 | | - "html": "If <var>attr</var> is <code>epub:type</code> [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>], set <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/structure/#</code>" |
| 40 | + "html": "If <var>attr</var> is <code><a data-link-type=\"element-attr\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-epub-type\" id=\"ref-for-index-term-epub-type-attribute-5\">epub:type</a></code> [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>], set <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/structure/#</code>" |
41 | 41 | }, |
42 | 42 | { |
43 | | - "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://html.spec.whatwg.org/multipage/semantics.html#meta\" id=\"ref-for-index-term-meta-element-6\">meta</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>]\n\t\t\t\t\t\t\t\t\tand <var>attr</var> is <code>scheme</code>, the property value is invalid. Return <a href=\"https://infra.spec.whatwg.org/#nulls\" id=\"ref-for-index-term-null-4\">null</a>." |
| 43 | + "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-meta\" id=\"ref-for-index-term-meta-element-6\">meta</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>]\n\t\t\t\t\t\t\t\t\tand <var>attr</var> is <code>scheme</code>, the property value is invalid. Return <a href=\"https://infra.spec.whatwg.org/#nulls\" id=\"ref-for-index-term-null-4\">null</a>." |
44 | 44 | }, |
45 | 45 | { |
46 | | - "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://html.spec.whatwg.org/multipage/semantics.html#meta\" id=\"ref-for-index-term-meta-element-7\">meta</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/meta/#</code>" |
| 46 | + "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-meta\" id=\"ref-for-index-term-meta-element-7\">meta</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/meta/#</code>" |
47 | 47 | }, |
48 | 48 | { |
49 | | - "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://html.spec.whatwg.org/multipage/semantics.html#the-link-element\" id=\"ref-for-index-term-link-element-2\">link</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/link/#</code>" |
| 49 | + "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-link\" id=\"ref-for-index-term-link-element-2\">link</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/link/#</code>" |
50 | 50 | }, |
51 | 51 | { |
52 | | - "html": "Otherwise, if <var>elem</var> is the package document <code>item</code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/item/#</code>" |
| 52 | + "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-item\" id=\"ref-for-index-term-item-element-3\">item</a></code> element [<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>],\n\t\t\t\t\t\t\t\t\tset <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/item/#</code>" |
53 | 53 | }, |
54 | 54 | { |
55 | | - "html": "Otherwise, if <var>elem</var> is the package document <code>itemref</code> element\n\t\t\t\t\t\t\t\t\t[<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>], set <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/itemref/#</code>" |
| 55 | + "html": "Otherwise, if <var>elem</var> is the package document <code><a data-link-type=\"element\" href=\"https://w3c.github.io/epub-specs/epub34/authoring/#dfn-itemref\" id=\"ref-for-index-term-itemref-element-5\">itemref</a></code> element\n\t\t\t\t\t\t\t\t\t[<cite><a class=\"bibref\" data-link-type=\"biblio\" href=\"https://www.w3.org/TR/epub-rs-34/#bib-epub-34\" title=\"EPUB 3.4\">epub-34</a></cite>], set <var>baseURL</var> to\n\t\t\t\t\t\t\t\t\t\t<br><code>http://idpf.org/epub/vocab/package/itemref/#</code>" |
56 | 56 | } |
57 | 57 | ] |
58 | 58 | }, |
|
0 commit comments