Skip to content

Commit 5810195

Browse files
committed
[css-writing-modes] Remove interaction of text-combine-horizontal and font-variant: full-width per <http://lists.w3.org/Archives/Public/www-style/2013Sep/0091.html>
--HG-- extra : rebase_source : 499453995aee9cb5a402694d5180d9f06f89d5a2
1 parent fc21cbe commit 5810195

2 files changed

Lines changed: 28 additions & 6 deletions

File tree

css-writing-modes/Overview.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2301,9 +2301,6 @@ <h3 class="heading settled heading" data-level=9.1 id=text-combine-horizontal><s
23012301
when the combined text consists of more than one <a href=#character>character</a>,
23022302
then any full-width <i>characters</i> must first be converted to their non-full-width equivalents
23032303
by reversing the algorithm defined for <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-text-3/#text-transform0 title=text-transform>text-transform: full-width</a> in <a data-biblio-type=normative data-link-type=biblio href=#css3text title=CSS3TEXT>[CSS3TEXT]</a>.
2304-
Also, a <a class=css-code data-link-type=property href=http://dev.w3.org/csswg/css-fonts-3/#propdef-font-variant>font-variant</a> value of <span class=css data-link-type=maybe>full-width</span> must be ignored in such cases:
2305-
whether applied via <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule>@font-face</a> descriptor or property declaration,
2306-
within the combined text this value does not not cause the UA to enable that font feature. <a data-biblio-type=normative data-link-type=biblio href=#css3-fonts title=CSS3-FONTS>[CSS3-FONTS]</a>
23072304

23082305
<div class=example>
23092306
<p>For example, an author might apply both <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-text-3/#text-transform0 title=text-transform>text-transform</a> and <a class=property data-link-type=propdesc href=#propdef-text-combine-horizontal title=text-combine-horizontal>text-combine-horizontal</a>
@@ -2323,6 +2320,20 @@ <h3 class="heading settled heading" data-level=9.1 id=text-combine-horizontal><s
23232320
<!-- -->
23242321
<!-- -->23
23252322
<!-- --></pre> </div>
2323+
<!--
2324+
Also, a <a property>font-variant</a> value of <span data-link-type="maybe" class="css">full-width</span> must be ignored in such cases:
2325+
whether applied via <span data-link-type="maybe" class="css">@font-face</span> descriptor or property declaration,
2326+
within the combined text this value does not not cause the UA to enable that font feature. [[!CSS3-FONTS]]
2327+
-->
2328+
2329+
<p class=note>
2330+
Full-width glyph variations can also be chosen via the <a class=property data-link-type=propdesc href=http://dev.w3.org/csswg/css-fonts-3/#descdef-font-variant title=font-variant>font-variant</a> property
2331+
or <a class=css data-link-type=maybe href=http://dev.w3.org/csswg/css-fonts-3/#at-font-face-rule>@font-face</a> descriptor <a data-biblio-type=normative data-link-type=biblio href=#css3-fonts title=CSS3-FONTS>[CSS3-FONTS]</a>.
2332+
However since such variations do not affect the glyph shape in contemporary fonts,
2333+
there is no explicit interaction with this feature currently.
2334+
A future revision of this specification may require ignoring such declarations
2335+
within the combined text
2336+
if common usage makes such behavior desirable.
23262337

23272338
<p>When combining text as for <a class=css data-link-type=maybe href=#propdef-text-combine-horizontal title=text-combine-horizontal>text-combine-horizontal: all</a>,
23282339
the glyphs of the combined text are composed horizontally

css-writing-modes/Overview.src.html

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2319,9 +2319,6 @@ <h3 id="text-combine-horizontal">
23192319
when the combined text consists of more than one <i>character</i>,
23202320
then any full-width <i>characters</i> must first be converted to their non-full-width equivalents
23212321
by reversing the algorithm defined for ''text-transform: full-width'' in [[!CSS3TEXT]].
2322-
Also, a <a property>font-variant</a> value of ''full-width'' must be ignored in such cases:
2323-
whether applied via ''@font-face'' descriptor or property declaration,
2324-
within the combined text this value does not not cause the UA to enable that font feature. [[!CSS3-FONTS]]
23252322

23262323
<div class="example">
23272324
<p>For example, an author might apply both 'text-transform' and 'text-combine-horizontal'
@@ -2345,6 +2342,20 @@ <h3 id="text-combine-horizontal">
23452342
<!-- -->23
23462343
<!-- --></pre>
23472344
</div>
2345+
<!--
2346+
Also, a <a property>font-variant</a> value of ''full-width'' must be ignored in such cases:
2347+
whether applied via ''@font-face'' descriptor or property declaration,
2348+
within the combined text this value does not not cause the UA to enable that font feature. [[!CSS3-FONTS]]
2349+
-->
2350+
2351+
<p class="note">
2352+
Full-width glyph variations can also be chosen via the 'font-variant' property
2353+
or ''@font-face'' descriptor [[!CSS3-FONTS]].
2354+
However since such variations do not affect the glyph shape in contemporary fonts,
2355+
there is no explicit interaction with this feature currently.
2356+
A future revision of this specification may require ignoring such declarations
2357+
within the combined text
2358+
if common usage makes such behavior desirable.
23482359

23492360
<p>When combining text as for ''text-combine-horizontal: all'',
23502361
the glyphs of the combined text are composed horizontally

0 commit comments

Comments
 (0)