@@ -1150,7 +1150,7 @@ Font style: the 'font-style!!property' property</h3>
1150
1150
1151
1151
<pre class="propdef">
1152
1152
Name : font-style
1153
- Value : normal | italic | oblique <<angle [-90deg,90deg]>>?
1153
+ Value : normal | italic | left | right | oblique <<angle [-90deg,90deg]>>?
1154
1154
Initial : normal
1155
1155
Applies to : all elements and text
1156
1156
Inherited : yes
@@ -1207,6 +1207,21 @@ Font style: the 'font-style!!property' property</h3>
1207
1207
<dd>
1208
1208
Matches against a font that is labeled as an italic face,
1209
1209
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>
1210
1225
1211
1226
<dt> <dfn>oblique <<angle [-90deg,90deg]>>?</dfn>
1212
1227
<dd>
@@ -1224,6 +1239,13 @@ Font style: the 'font-style!!property' property</h3>
1224
1239
a synthetic oblique face will be generated.
1225
1240
</dl>
1226
1241
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
+
1227
1249
A font family might contain no italic or oblique faces,
1228
1250
only an italic face and no oblique,
1229
1251
only an oblique face and no italic,
0 commit comments