Skip to content

Commit 8e8ed97

Browse files
committed
[css-fonts-4] Add left and right to font-style property, #9392
1 parent 6d078c3 commit 8e8ed97

File tree

1 file changed

+23
-1
lines changed

1 file changed

+23
-1
lines changed

css-fonts-4/Overview.bs

Lines changed: 23 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,7 +1150,7 @@ Font style: the 'font-style!!property' property</h3>
11501150

11511151
<pre class="propdef">
11521152
Name: font-style
1153-
Value: normal | italic | oblique <<angle [-90deg,90deg]>>?
1153+
Value: normal | italic | left | right | oblique <<angle [-90deg,90deg]>>?
11541154
Initial: normal
11551155
Applies to: all elements and text
11561156
Inherited: yes
@@ -1207,6 +1207,21 @@ Font style: the 'font-style!!property' property</h3>
12071207
<dd>
12081208
Matches against a font that is labeled as an italic face,
12091209
or an oblique face if one does not exist.
1210+
The angle and direction of slant is unspecified.
1211+
1212+
<dt><dfn>left</dfn></dt>
1213+
<dd>
1214+
Matches against a font that is labeled as an italic face,
1215+
with a positive (clockwise) slant;
1216+
or an oblique face with positive slant, if one does not exist.
1217+
</dd>
1218+
1219+
<dt><dfn>right</dfn></dt>
1220+
<dd>
1221+
Matches against a font that is labeled as an italic face,
1222+
with a negative (counter-clockwise) slant;
1223+
or an oblique face with negative slant, if one does not exist.
1224+
</dd>
12101225

12111226
<dt><dfn>oblique <<angle [-90deg,90deg]>>?</dfn>
12121227
<dd>
@@ -1224,6 +1239,13 @@ Font style: the 'font-style!!property' property</h3>
12241239
a synthetic oblique face will be generated.
12251240
</dl>
12261241

1242+
<figure>
1243+
<img src="./images/contra-italic.png" alt="negative slant">
1244+
<figcaption>An italic face with negative slant.
1245+
The font is Mf Autumn Breeze,
1246+
by Misti Hammers.</figcaption>
1247+
</figure>
1248+
12271249
A font family might contain no italic or oblique faces,
12281250
only an italic face and no oblique,
12291251
only an oblique face and no italic,

0 commit comments

Comments
 (0)