Skip to content

Commit 7f546ec

Browse files
committed
[css-writing-modes] Add integer values of glyph-orientation-vertical. Clarify that other values (and glyph-orientation-horizontal) must be treated as invalid. See SVGWG minutes from Thursday.
1 parent ccf99e1 commit 7f546ec

1 file changed

Lines changed: 24 additions & 6 deletions

File tree

css-writing-modes/Overview.bs

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1381,7 +1381,7 @@ Obsolete: the SVG1.1 'glyph-orientation-vertical' property</h4>
13811381

13821382
<pre class='propdef'>
13831383
Name: glyph-orientation-vertical
1384-
Value: auto | 0deg | 90deg
1384+
Value: auto | 0deg | 90deg | 0 | 90
13851385
Initial: n/a
13861386
Applies to: n/a
13871387
Inherited: na/
@@ -1393,9 +1393,12 @@ Obsolete: the SVG1.1 'glyph-orientation-vertical' property</h4>
13931393
</pre>
13941394

13951395
Some SVG user agents will need to process documents containing
1396-
the obsolete SVG 'glyph-orientation-vertical' property.
1397-
It is recommended that such UAs treat 'glyph-orientation-vertical'
1398-
as a shorthand alias of 'text-orientation' as follows:
1396+
the obsolete SVG 'glyph-orientation-vertical' property,
1397+
which was defined to accept an ''glyph-orientation-vertical/auto'' keyword
1398+
as well as <<angle>> and <<integer>> values representing multiples of 90&deg;.
1399+
While supporting this property is <em>optional</em>,
1400+
UAs that do so must alias 'glyph-orientation-vertical'
1401+
as a shorthand of 'text-orientation' as follows:
13991402

14001403
<table class="data">
14011404
<thead>
@@ -1409,14 +1412,29 @@ Obsolete: the SVG1.1 'glyph-orientation-vertical' property</h4>
14091412
<tr>
14101413
<td>''0deg''
14111414
<td>''upright''
1415+
<tr>
1416+
<td>''0''
1417+
<td>''upright''
14121418
<tr>
14131419
<td>''90deg''
14141420
<td>''sideways''
1421+
<tr>
1422+
<td>''90''
1423+
<td>''sideways''
14151424
</table>
14161425

1417-
Note: The ''180deg'' and ''270deg'' values
1426+
UAs must ignore and treat as invalid
1427+
any other values for the 'glyph-orientation-vertical' property;
1428+
and treat as invalid the 'glyph-orientation-horizontal' property
1429+
in its entirety.
1430+
1431+
Note: The ''180deg'' and ''270deg'' values,
1432+
the radian and gradian values,
14181433
and the 'glyph-orientation-horizontal' property
1419-
are not mapped because they have no known use cases.
1434+
are not mapped because they have no known use cases
1435+
nor significant amounts of dependent content,
1436+
and are therefore not part of CSS,
1437+
and have been likewise dropped from SVG.
14201438

14211439
<h2 id="abstract-box">
14221440
Abstract Box Terminology</h2>

0 commit comments

Comments
 (0)