Skip to content

Commit 9d5ee04

Browse files
SebastianZtabatkins
authored andcommitted
[css-fonts] Replaced <length> | <percentage> by <length-percentage> (#265)
1 parent c8e69f3 commit 9d5ee04

File tree

2 files changed

+8
-10
lines changed

2 files changed

+8
-10
lines changed

css-fonts/Fonts.src.html

+4-5
Original file line numberDiff line numberDiff line change
@@ -863,7 +863,7 @@ <h3 id="font-size-prop">Font size: the <a href="#propdef-font-size">font-size</a
863863
</tr>
864864
<tr>
865865
<td>Value:</td>
866-
<td><var>&lt;absolute-size&gt;</var> | <var>&lt;relative-size&gt;</var> | <var>&lt;length&gt;</var> | <var>&lt;percentage&gt;</var></td>
866+
<td><var>&lt;absolute-size&gt;</var> | <var>&lt;relative-size&gt;</var> | <var>&lt;length-percentage&gt;</var></td>
867867
</tr>
868868
<tr>
869869
<td>Initial:</td>
@@ -928,12 +928,11 @@ <h3 id="font-size-prop">Font size: the <a href="#propdef-font-size">font-size</a
928928
agent may have to extrapolate table values if the numerical value
929929
goes beyond the keywords.
930930

931-
<dt><dfn id="length-size-value"><var>&lt;length&gt;</var></dfn>
932-
<dd>A length value specifies an absolute font size
931+
<dt><dfn id="length-percentage-size-value"><var>&lt;length-percentage&gt;</var></dfn>
932+
<dd><p>A length value specifies an absolute font size
933933
(independent of the user agent's font table).
934934
Negative lengths are invalid.
935-
<dt><dfn id="percentage-size-value"><var>&lt;percentage&gt;</var></dfn>
936-
<dd>A percentage value specifies an absolute font size relative
935+
<p>A percentage value specifies an absolute font size relative
937936
to the parent element's font size. Use of percentage values, or
938937
values in 'em's, leads to more robust and cascadable style sheets.
939938
Negative percentages are invalid.

css-fonts/Overview-wip.bs

+4-5
Original file line numberDiff line numberDiff line change
@@ -688,7 +688,7 @@ faces when implementing support for <em>system font fallback</em>.
688688
<h3 id="font-size-prop">Font size: the 'font-size' property</h3>
689689
<pre class="propdef">
690690
Name: font-size
691-
Value: <<absolute-size>> | <<relative-size>> | <<length>> | <<percentage>>
691+
Value: <<absolute-size>> | <<relative-size>> | <<length-percentage>>
692692
Initial: medium
693693
Applies to: all elements
694694
Inherited: yes
@@ -734,15 +734,14 @@ are:
734734
agent may have to extrapolate table values if the numerical value
735735
goes beyond the keywords.
736736

737-
<dt><dfn><<length>></dfn>
737+
<dt><dfn><<length-percentage>></dfn>
738738
<dd>A length value specifies an absolute font size
739739
(independent of the user agent's font table).
740740
Negative lengths are illegal.
741741

742-
<dt><dfn><<percentage>></dfn>
743-
<dd>A percentage value specifies an absolute font size relative
742+
A percentage value specifies an absolute font size relative
744743
to the parent element's font size. Use of percentage values, or
745-
values in ''em''s, leads to more robust and cascadable style sheets.
744+
values in ''em''s, leads to more robust and cascadable style sheets.
746745
</dl>
747746

748747
The following table provides user agent guidelines for the

0 commit comments

Comments
 (0)