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

reserving intent and arg as global attributes #157

Merged
merged 5 commits into from
Oct 6, 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
44 changes: 34 additions & 10 deletions index.html
Original file line number Diff line number Diff line change
Expand Up @@ -233,10 +233,11 @@ <h4>The Top-Level <code>&lt;math&gt;</code> Element</h4>
The <code>&lt;math&gt;</code>
element accepts the attributes described
in <a href="#global-attributes"></a> as well as the
following attribute:
following attributes:
</p>
<ul>
<li><a>display</a></li>
<li><a>alttext</a></li>
</ul>
<p>
The
Expand All @@ -256,7 +257,16 @@ <h4>The Top-Level <code>&lt;math&gt;</code> Element</h4>
If the <code>display</code>
attribute is absent or has an invalid value, the User Agent
stylesheet treats it the same as <code>inline</code>.
</p>
<p>
This specification does not define any observable behavior that is
specific to the <dfn><code>alttext</code></dfn> attribute.
</p>
<div class="note">
The <a><code>alttext</code></a> attribute may be used as
alternative text by some legacy systems that do not
implement math layout.</div>

<p>
If the element does not have its computed
<a><code>display</code> property</a> equal to
Expand Down Expand Up @@ -367,6 +377,7 @@ <h4>Global Attributes</h4>
<li><a><code>style</code></a></li>
<li><a><code>tabindex</code></a></li>
<li><a href="#event-handler-content-attributes"><code>on*</code> event handler attributes</a></li>
<li>additional attributes, as described in <a href="#other-valid-attributes"></a></li>
</ul>
</section>
<section id="attributes-common-to-html-and-mathml-elements">
Expand Down Expand Up @@ -553,7 +564,7 @@ <h4>The <code>mathvariant</code> attribute</h4>
<code>ssXY</code> properties from [[OPEN-FONT-FORMAT]]
to provide both styles. Page authors may use the
<a data-cite="CSS-FONTS-4#font-variant-alternates-prop"><code>font-variant-alternates</code></a> property with corresponding OpenType font features
to access these glyphs.
to access these glyphs.</p>
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Can this and other unrelated "fix tags" please be done in a separate PR, so this commit is restricted to only the relevant change?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's only a couple and emacs really doesn't want to save invalid files (I already over-rode it in a few places) so I don't think it's preventing review

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, actually I think for this kind of fixes for invalid markup which don't change the content of the spec, you can just go ahead and push the changes without asking a review.

</div>
</section>
<section id="the-displaystyle-and-scriptlevel-attributes">
Expand Down Expand Up @@ -632,7 +643,22 @@ <h4>The <code>displaystyle</code> and <code>scriptlevel</code> attributes</h4>
and <code>false</code> and 2, respectively.
</div>
</section>
</section>
<section id="other-valid-attributes">
<h4>Attributes Reserved as Valid</h4>
<p>The attributes
<dfn><code>intent</code></dfn> and <dfn><code>arg</code></dfn>
are reserved as valid attributes.</p>
<p>
This specification does not define any observable behavior that is
specific to the <a><code>intent</code></a> and <a><code>arg</code></a> attributes.
</p>
<div class="note">
These attributes are described in [[MATHML4]] and
future versions of this specification may or may not
define them. Authors should be aware that they are currently
in development and subject to change.
</div>
</section>
<section>
<h3>Integration in the Web Platform</h3>
<section id="html-and-svg">
Expand Down Expand Up @@ -5627,9 +5653,8 @@ <h3>Operator Dictionary</h3>
</li>
</ul>
</li>
</ul>
</li>
</ol>
</ol>
</section>
<div id="operator-dictionary-entries-compact"
data-include="tables/operator-dictionary-compact.html"></div>

Expand All @@ -5653,7 +5678,8 @@ <h3>Operator Dictionary</h3>
<a href="#operator-dictionary-categories-hexa-table"></a>
rather than on each large subtable
of <a href="#operator-dictionary-category-table"></a>.
</p>
</li>
</ul>
</div>
<p id="stretchy-operator-axis">
The <dfn>intrinsic stretch axis</dfn> a Unicode character
Expand Down Expand Up @@ -5927,7 +5953,7 @@ <h2>Security Considerations</h2>

<p>This feature is not available in MathML Core, where
the <a><code>&lt;maction&gt;</code></a> element essentially behaves
like an <a><code>&lt;mrow&gt;</code></a> container with extra style.
like an <a><code>&lt;mrow&gt;</code></a> container with extra style.</p>
</div>
<p>An attacker can try to hang the UA by inserting very large
stretchy operators, effectively making the algorithm
Expand Down Expand Up @@ -6006,7 +6032,6 @@ <h2>Privacy Considerations</h2>
the UI serif font provide Asian glyphs:</p>
<pre data-include="examples/example-font-information-leakage-2.html"
data-include-format="text"></pre>
<p>
</div>
<div class="example" id="font-information-leakage-3">
<p>The following
Expand All @@ -6020,7 +6045,6 @@ <h2>Privacy Considerations</h2>
</p>
<pre data-include="examples/example-font-information-leakage-3.html"
data-include-format="text"></pre>
<p>
</div>
<p>This specification relies on information from
<a href="#opentype-math-table"></a> to render MathML content. One
Expand Down