Skip to content
This repository has been archived by the owner on Apr 26, 2022. It is now read-only.

update index.html #82

Merged
merged 3 commits into from
May 15, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Dialog Best Practices</title>
<title>Dialogue Best Practices</title>

<style>

Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Dialog Best Practices</title>
<title>Dialogue Best Practices</title>

<style>

Expand All @@ -10,7 +10,7 @@
font-weight: 600;
}

.dialog {
.dialogue {
max-width: 700px;
}

Expand All @@ -30,7 +30,7 @@ text-indent: -100px;
<p><i>This is content from Laura's tweet, with markup closer to that recommended by HTML5, and quite simple CSS to provide the "column" appearance.</i></p>
</aside>

<div class="dialog">
<div class="dialogue">

<p><span class="speaker" aria-label="speaker">Hansan</span> Baba, I need to talk to you.</p>

Expand Down
36 changes: 17 additions & 19 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
</nav>

<h1 class="title">EPUB @ W3C</h1>
<p class="status">21 September 2018</p>
<p class="status">15 May 2019</p>
</header>

<div class="content">
Expand All @@ -31,7 +31,7 @@ <h1 class="title">EPUB @ W3C</h1>



<p>The <strong>current version</strong> of EPUB will soon be <em><a href="https://w3c.github.io/publ-epub-revision/epub31/spec/epub-spec.html">EPUB
<p>The <strong>current version</strong> of EPUB is <em><a href="https://www.w3.org/publishing/epub32/">EPUB
3.2</a></em></p>

<p>For more information about this version, <a href="#epub32">see the description below</a>.</p>
Expand Down Expand Up @@ -62,9 +62,9 @@ <h2 class="title">Groups</h2>
<tr>
<td>Publishing Business Group</td>
<td>“…to foster ongoing participation by members of the publishing industry and overall ecosystem in the development of the Web for publishing, and to serve as a conduit for feedback between the publishing ecosystem and W3C.”</td>
<td>W3C member, W3C Business Group Member, TPI member (former IDPF member)</td>
<td>W3C member, W3C Business Group Member</td>
<td><a href="https://www.w3.org/publishing/groups/publ-bg/">Home page</a><br/><a href="https://www.w3.org/2017/02/PublishingBGcharter">Charter</a></td>
<td>Rick Johnson, Luc Audrain, Liisa McCloy-Kelley</td>
<td>Luc Audrain, Liisa McCloy-Kelley, Daihei Shiohama</td>
</tr>

<tr>
Expand All @@ -87,9 +87,9 @@ <h2 class="title">Groups</h2>
<tr>
<td>Publishing Working Group</td>
<td>“The mission of the Publishing Working Group is to enable all Web Publications—with all their specificities and traditions—to become first-class entities on the Web”</td>
<td>W3C member or TPI member (former IDPF member)</td>
<td>W3C member</td>
<td><a href="https://www.w3.org/2017/04/publ-wg-charter/">https://www.w3.org/2017/04/publ-wg-charter/</a></td>
<td>Tzviya Siegman, Garth Conboy</td>
<td>Tzviya Siegman, Garth Conboy, Wendy Reid</td>
</tr>


Expand Down Expand Up @@ -189,8 +189,8 @@ <h3 class="title">EPUB 3.2</h3>

<ul class="info">
<li><strong>Specification</strong>:<br/><a href="#epub32-core-spec">See below</a></li>
<li><strong>Status</strong>:<br/>Draft Community Group Report</li>
<li><strong>Date Published</strong>:<br/>2018-10-XX</li>
<li><strong>Status</strong>:<br/>Final Community Group Specification</li>
<li><strong>Date Published</strong>:<br/>2019-05-08</li>
<li><strong>Charter</strong>:<br/><a href="https://www.w3.org/2017/02/EPUB3CGcharter">EPUB 3 Charter (2017)</a></li>
<li><strong>Project Home</strong>:<br/><a href="https://github.com/w3c/publ-epub-revision/">EPUB 3.2</a></li>
</ul>
Expand All @@ -205,36 +205,34 @@ <h3 class="title">EPUB 3.2</h3>
(A given version of EPUB is said to be strongly backwards-compatible
with an older version if and only if any EPUB publication conformant
to the older version is also conformant to the newer version).
All valid EPUB 3.0.1 files will also be valid EPUB 3.2 files.</p>
All valid EPUB 3.0.1 files should also be valid EPUB 3.2 files.</p>

<section id="epub32-core-spec">
<h4>Core Specifications</h4>

<ul>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-spec.html">EPUB 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-packages.html">EPUB Packages 3.2</a>
<a href="https://www.w3.org/publishing/epub32/epub-spec.html">EPUB 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-contentdocs.html">EPUB Content Documents 3.2</a>
<a href="https://www.w3.org/publishing/epub32/epub-packages.html">EPUB Packages 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-mediaoverlays.html">EPUB Media Overlays 3.2</a>
<a href="https://www.w3.org/publishing/epub32/epub-contentdocs.html">EPUB Content Documents 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-ocf.html">EPUB Open Container Format (OCF) 3.2</a>
<a href="https://www.w3.org/publishing/epub32/epub-mediaoverlays.html">EPUB Media Overlays 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-overview.html">EPUB 3 Overview</a>
<a href="hhttps://www.w3.org/publishing/epub32/epub-ocf.html">EPUB Open Container Format (OCF) 3.2</a>
</li>
<li>
<a href="https://w3c.github.io/publ-epub-revision/epub32/spec/epub-changes.html">EPUB 3.2 Changes from EPUB 3.0.1</a>
<a href="hhttps://www.w3.org/publishing/epub32/epub-overview.html">EPUB 3 Overview</a>
</li>
<li>
<a href="http://www.idpf.org/epub/32/schema/">EPUB 3.2 Schemas</a>
<a href="https://www.w3.org/publishing/epub32/epub-changes.html">EPUB 3.2 Changes</a>
</li>

</ul>
</section>

Expand Down
6 changes: 6 additions & 0 deletions tests/misc/malformed-css/META-INF/container.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="OPS/package.opf" media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
21 changes: 21 additions & 0 deletions tests/misc/malformed-css/OPS/content_001.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Minimal EPUB</title>
<style type="text/css">


body { color: red; }

}

p {
color: green;

}

</style>
</head>
<body>
<p>The embedded stylesheet has a syntax error which should be reported by EPUBCheck. Text should be red because CSS parsing drops the declaration after the error. </p>
</body>
</html>
9 changes: 9 additions & 0 deletions tests/misc/malformed-css/OPS/content_002.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Minimal EPUB</title>
<link rel="stylesheet" href="style.css"/>
</head>
<body>
<p>The external stylesheet has a syntax error which should be reported by EPUBCheck. Text should be red because CSS parsing drops the declaration after the error. </p>
</body>
</html>
13 changes: 13 additions & 0 deletions tests/misc/malformed-css/OPS/nav.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Minimal Nav</title>
</head>
<body>
<nav epub:type="toc">
<ol>
<li><a href="content_001.xhtml">malformed CSS embedded</a></li>
<li><a href="content_002.xhtml">malformed CSS in external stylesheet</a></li>
</ol>
</nav>
</body>
</html>
21 changes: 21 additions & 0 deletions tests/misc/malformed-css/OPS/package.opf
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="en" unique-identifier="q">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title id="title">Malformed CSS</dc:title>
<dc:language>en</dc:language>
<dc:identifier id="q">NOID</dc:identifier>
<meta property="dcterms:modified">2018-12-12T00:00:01Z</meta>
</metadata>
<manifest>
<item id="content_001" href="content_001.xhtml" media-type="application/xhtml+xml"/>
<item id="content_002" href="content_002.xhtml" media-type="application/xhtml+xml"/>
<item id="style" href="style.css" media-type="text/css"/>


<item id="nav" href="nav.xhtml" media-type="application/xhtml+xml" properties="nav"/>
</manifest>
<spine>
<itemref idref="content_001" />
<itemref idref="content_002" />
</spine>
</package>
8 changes: 8 additions & 0 deletions tests/misc/malformed-css/OPS/style.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
body { color: red; }

}

p {
color: green;

}
1 change: 1 addition & 0 deletions tests/misc/malformed-css/mimetype
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
application/epub+zip
Binary file added tests/misc/no-mimetype.epub
Binary file not shown.
6 changes: 6 additions & 0 deletions tests/misc/no-mimetype/META-INF/container.xml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8" ?>
<container version="1.0" xmlns="urn:oasis:names:tc:opendocument:xmlns:container">
<rootfiles>
<rootfile full-path="OPS/package.opf" media-type="application/oebps-package+xml"/>
</rootfiles>
</container>
8 changes: 8 additions & 0 deletions tests/misc/no-mimetype/OPS/content_001.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Minimal EPUB</title>
</head>
<body>
<p>Test is in navigation document.</p>
</body>
</html>
12 changes: 12 additions & 0 deletions tests/misc/no-mimetype/OPS/nav.xhtml
Original file line number Diff line number Diff line change
@@ -0,0 +1,12 @@
<html xmlns="http://www.w3.org/1999/xhtml" xmlns:epub="http://www.idpf.org/2007/ops" xml:lang="en">
<head>
<title>Minimal Nav</title>
</head>
<body>
<nav epub:type="toc">
<ol>
<li><a href="content_001.xhtml">text passes if the word <i>italic</i> is in <i>italic.</i></a></li>
</ol>
</nav>
</body>
</html>
16 changes: 16 additions & 0 deletions tests/misc/no-mimetype/OPS/package.opf
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
<?xml version="1.0" encoding="UTF-8"?>
<package xmlns="http://www.idpf.org/2007/opf" version="3.0" xml:lang="en" unique-identifier="q">
<metadata xmlns:dc="http://purl.org/dc/elements/1.1/">
<dc:title id="title">Minimal EPUB 3.0</dc:title>
<dc:language>en</dc:language>
<dc:identifier id="q">NOID</dc:identifier>
<meta property="dcterms:modified">2018-10-12T00:00:01Z</meta>
</metadata>
<manifest>
<item id="content_001" href="content_001.xhtml" media-type="application/xhtml+xml"/>
<item id="nav" href="nav.xhtml" media-type="application/xhtml+xml" properties="nav"/>
</manifest>
<spine>
<itemref idref="content_001" />
</spine>
</package>