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

Clarify where epub:type is not allowed #2493

Merged
merged 1 commit into from
Dec 2, 2022
Merged
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
16 changes: 10 additions & 6 deletions epub33/core/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -5775,7 +5775,8 @@ <h5>Structural semantics</h5>
<p>[=EPUB creators=] MAY use the [^/epub:type^] attribute in [=XHTML content documents=] to
express <a href="#sec-structural-semantics-intro">structural semantics</a>.</p>

<p>The attribute MUST only be used on [=palpable content=] [[html]].</p>
<p>The attribute MUST NOT be used on the <a data-cite="html#the-head-element"
><code>head</code></a> element or [=metadata content=] [[html]].</p>
</section>

<section id="sec-xhtml-rdfa">
Expand Down Expand Up @@ -10691,9 +10692,9 @@ <h3>Introduction</h3>
<section id="app-viewport-meta-syntax">
<h3>Syntax</h3>

<p>For [=fixed-layout documents=], a <code>viewport</code> [^meta^] tag [[html]] MUST have
<code>name</code> and <code>content</code> attributes that conform to the following
definition:</p>
<p>For [=fixed-layout documents=], a <code>viewport</code>
<a data-cite="html#the-meta-element"><code>meta</code></a> tag [[html]] MUST have <code>name</code>
and <code>content</code> attributes that conform to the following definition:</p>

<dl>
<dt id="viewport-name-attr">name</dt>
Expand Down Expand Up @@ -10785,8 +10786,8 @@ <h3>Syntax</h3>
attribute to single spaces). EPUB creators MAY include any valid [=ascii whitespace=] [[infra]] in
the authored tag so long as the result is valid to this definition.</p>

<p>There are no restrictions on any other attributes allowed on the [^meta^] element by the [[html]]
grammar.</p>
<p>There are no restrictions on any other attributes allowed on the <a data-cite="html#the-meta-element"
><code>meta</code></a> element by the [[html]] grammar.</p>

<div class="note">
<p>For more information about specifying the required <code>height</code> and <code>width</code>
Expand Down Expand Up @@ -11772,6 +11773,9 @@ <h3>Substantive changes since <a href="https://www.w3.org/TR/2022/CR-epub-33-202
Recommendation</a></h3>

<ul>
<li>29-Nov-2022: Clarify the <code>epub:type</code> attribute is not allowed on the
<code>head</code> element and metadata content in XHTML content documents. See <a
href="https://github.com/w3c/epub-specs/issues/2486">issue 2486</a>.</li>
<li>17-Nov-2022: Updated file paths and names to identify that they are scalar value strings in the
OCF abstract container, not just case sensitive. See <a
href="https://github.com/w3c/epub-specs/issues/2461">issue 2461</a>.</li>
Expand Down