Skip to content
Permalink
Browse files

xxx-large is now a font-size value

  • Loading branch information...
annevk committed Jun 13, 2019
1 parent 4f45a25 commit 83d5bec48d4f2cb21671964e6f9b2592cef1a429
Showing with 1 addition and 18 deletions.
  1. +1 −18 source
19 source
hints">presentational hint</span> setting the element's <span>'font-size'</span> property:</p>

<ol>

<li><p>Let <var>input</var> be the attribute's value.</p></li>

<li><p>Let <var>position</var> be a pointer into <var>input</var>, initially pointing at the
number.</p></li>

<li>

<!-- basefont support would go here, but we removed it -->

<p>If <var>mode</var> is <i>relative-plus</i>, then increment <var>value</var> by 3. If
<var>mode</var> is <i>relative-minus</i>, then let <var>value</var> be the result of subtracting
<var>value</var> from 3.</p>

</li>

<li><p>If <var>value</var> is greater than 7, let it be 7.</p></li>

<li><p>If <var>value</var> is less than 1, let it be 1.</p></li>

<li>

<p>Set <span>'font-size'</span> to the keyword corresponding to the value of <var>value</var>
according to the following table:</p>

<tr>
<th><var>value</var>
<th><span>'font-size'</span> keyword
<th>Notes
<tbody>
<tr>
<td>1
<td>'x-small'
<td>
<tr>
<td>2
<td>'small'
<td>
<tr>
<td>3
<td>'medium'
<td>
<tr>
<td>4
<td>'large'
<td>
<tr>
<td>5
<td>'x-large'
<td>
<tr>
<td>6
<td>'xx-large'
<td>
<tr>
<td>7
<td>'x<!---->xx-large'
<td><i>see below</i>
<td>'xxx-large'
</table>

<p class="tablenote"><small>The 'x<!---->xx-large' value is a non-CSS value used here to
indicate a font size 50% larger than 'xx-large'.</small></p>

</li>

</ol>


0 comments on commit 83d5bec

Please sign in to comment.
You can’t perform that action at this time.