Skip to content

Commit

Permalink
Merge pull request #2493 from w3c/fix/issue-2486
Browse files Browse the repository at this point in the history
Clarify where epub:type is not allowed
  • Loading branch information
mattgarrish authored Dec 2, 2022
2 parents e20e1d9 + 03519f5 commit 40ecf56
Showing 1 changed file with 10 additions and 6 deletions.
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

0 comments on commit 40ecf56

Please sign in to comment.