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

defined boolean attribute type #521

Merged
merged 2 commits into from
Nov 24, 2024
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
45 changes: 25 additions & 20 deletions src/fundamentals.html
Original file line number Diff line number Diff line change
Expand Up @@ -155,30 +155,42 @@ <h5 id="fund_syntax_notation">Syntax notation used in the MathML specification</
</tr>
</thead>

<tbody
>
<tbody>

<tr>
<td id="type_unsigned-integer"><dfn><em>unsigned-integer</em></dfn></td>
<td id="type_boolean"><dfn class="no-export"><em>boolean</em></dfn></td>
<td>As defined in [[MathML-Core]], a string that is an
ASCII case-insensitive match to <code>true</code> or
<code>false</code>.</td>
</tr>
<tr>
<td id="type_unsigned-integer"><dfn class="no-export"><em>unsigned-integer</em></dfn></td>
<td>As defined in [[MathML-Core]], an <a data-cite="CSS-VALUES-3#integer-value"><code>integer</code></a>, whose first character is neither
U+002D HYPHEN-MINUS character (-) nor
U+002B PLUS SIGN (+).</td>
</tr>

<tr>
<td id="type_positive-integer"><dfn><em>positive-integer</em></dfn></td>
<td id="type_positive-integer"><dfn class="no-export"><em>positive-integer</em></dfn></td>
<td>An [=unsigned-integer=] not consisting solely of "0"s (U+0030), representing a positive integer</td>
</tr>

<tr>
<td id="type_integer"><dfn><em>integer</em></dfn></td>
<td id="type_integer"><dfn class="no-export"><em>integer</em></dfn></td>
<td>an optional "-" (U+002D), followed by an [=unsigned-integer=],
and representing an integer
</td>
</tr>

<tr>
<td id="type_unsigned-number"><dfn><em>unsigned-number</em></dfn></td>
<td id="type_number"><dfn class="no-export"><em>number</em></dfn></td>
<td>
an optional prefix of "-" (U+002D), followed by an [=unsigned-number=],
representing a terminating decimal number (a type of rational number)</td>
</tr>

<tr>
<td id="type_unsigned-number"><dfn class="no-export"><em>unsigned-number</em></dfn></td>
<td>
value as defined in
[[CSS-VALUES-3]] <a data-cite="CSS-VALUES-3#number"><code>number</code></a>, whose first character is neither
Expand All @@ -189,24 +201,17 @@ <h5 id="fund_syntax_notation">Syntax notation used in the MathML specification</
</tr>

<tr>
<td id="type_number"><dfn><em>number</em></dfn></td>
<td>
an optional prefix of "-" (U+002D), followed by an <a href="#type_unsigned-number">unsigned number</a>,
representing a terminating decimal number (a type of rational number)</td>
</tr>

<tr>
<td id="type_character"><dfn><em>character</em></dfn></td>
<td id="type_character"><dfn class="no-export"><em>character</em></dfn></td>
<td>a single non-whitespace character</td>
</tr>

<tr>
<td id="type_string"><dfn><em>string</em></dfn></td>
<td id="type_string"><dfn class="no-export"><em>string</em></dfn></td>
<td>an arbitrary, nonempty and finite, string of <em>character</em>s</td>
</tr>

<tr>
<td id="type_length"><dfn><em>length</em></dfn></td>
<td id="type_length"><dfn class="no-export"><em>length</em></dfn></td>
<td>a length, as explained below, <a href="#fund_units"></a></td>
</tr>

Expand All @@ -216,24 +221,24 @@ <h5 id="fund_syntax_notation">Syntax notation used in the MathML specification</
</tr>

<tr>
<td id="type_color"><dfn><em>color</em></dfn></td>
<td id="type_color"><dfn class="no-export"><em>color</em></dfn></td>
<td>a color, using the syntax specified by [[CSS-Color-3]]</td>
</tr>

<tr>
<td id="type_id"><dfn><em>id</em></dfn></td>
<td id="type_id"><dfn class="no-export"><em>id</em></dfn></td>
<td>an identifier, unique within the document;
must satisfy the NAME syntax of the XML recommendation [[XML]]</td>
</tr>

<tr>
<td id="type_idref"><dfn><em>idref</em></dfn></td>
<td id="type_idref"><dfn class="no-export"><em>idref</em></dfn></td>
<td>an identifier referring to another element within the document;
must satisfy the NAME syntax of the XML recommendation [[XML]]</td>
</tr>

<tr>
<td id="type_uri"><dfn><em>URI</em></dfn></td>
<td id="type_uri"><dfn class="no-export"><em>URI</em></dfn></td>
<td>a Uniform Resource Identifier [[RFC3986]]. Note that the attribute value
is typed in the schema as anyURI which allows any sequence of XML characters.
Systems needing to use this string as a URI must encode the bytes of the UTF-8 encoding
Expand Down
30 changes: 15 additions & 15 deletions src/presentation-markup.html
Original file line number Diff line number Diff line change
Expand Up @@ -1969,7 +1969,7 @@ <h6 id="presm_mo_dict_attrs">Dictionary-based attributes</h6>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-stretchy">stretchy</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>set by dictionary</em> (false)</td>
</tr>

Expand All @@ -1982,7 +1982,7 @@ <h6 id="presm_mo_dict_attrs">Dictionary-based attributes</h6>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-symmetric">symmetric</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>set by dictionary</em> (false)</td>
</tr>

Expand Down Expand Up @@ -2029,7 +2029,7 @@ <h6 id="presm_mo_dict_attrs">Dictionary-based attributes</h6>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-largeop">largeop</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>set by dictionary</em> (false)</td>
</tr>

Expand All @@ -2047,7 +2047,7 @@ <h6 id="presm_mo_dict_attrs">Dictionary-based attributes</h6>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-movablelimits">movablelimits</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>set by dictionary</em> (false)</td>
</tr>

Expand All @@ -2066,7 +2066,7 @@ <h6 id="presm_mo_dict_attrs">Dictionary-based attributes</h6>

<tr>
<td rowspan="2" class="attname"><span class="coreno">accent</span></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>set by dictionary</em> (false)</td>
</tr>

Expand Down Expand Up @@ -3753,7 +3753,7 @@ <h5 id="presm_mfrac_att">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><span class="coreno">bevelled</span></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td>false</td>
</tr>

Expand Down Expand Up @@ -4123,7 +4123,7 @@ <h5 id="presm_mstyle_attrs">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-displaystyle">displaystyle</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>inherited</em></td>
</tr>

Expand Down Expand Up @@ -5728,7 +5728,7 @@ <h5 id="presm_munder_att">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-accentunder">accentunder</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>automatic</em></td>
</tr>

Expand Down Expand Up @@ -5856,7 +5856,7 @@ <h5 id="presm_mover_att">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-accent">accent</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>automatic</em></td>
</tr>

Expand Down Expand Up @@ -6005,7 +6005,7 @@ <h5 id="presm_munderover_att">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-accent">accent</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>automatic</em></td>
</tr>

Expand All @@ -6019,7 +6019,7 @@ <h5 id="presm_munderover_att">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><a class="coreyes" href="https://w3c.github.io/mathml-core/spec.html#dfn-accentunder">accentunder</a></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td><em>automatic</em></td>
</tr>

Expand Down Expand Up @@ -6395,7 +6395,7 @@ <h5 id="presm_mtable_attrs">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><span class="coreno">alignmentscope</span></td>
<td>("true" | "false") +</td>
<td>(<em>[=boolean=]</em>) +</td>
<td>true</td>
</tr>

Expand Down Expand Up @@ -6550,7 +6550,7 @@ <h5 id="presm_mtable_attrs">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><span class="coreno">equalrows</span></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td>false</td>
</tr>

Expand All @@ -6562,7 +6562,7 @@ <h5 id="presm_mtable_attrs">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><span class="coreno">equalcolumns</span></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td>false</td>
</tr>

Expand All @@ -6574,7 +6574,7 @@ <h5 id="presm_mtable_attrs">Attributes</h5>

<tr>
<td rowspan="2" class="attname"><span class="coreno">displaystyle</span></td>
<td>"true" | "false"</td>
<td><em>[=boolean=]</em></td>
<td>false</td>
</tr>

Expand Down
Loading