@@ -1110,6 +1110,7 @@ Fullwidth Punctuation Collapsing</h4>
1110
1110
Set <a>fullwidth opening punctuation</a> half-width if the previous character is
1111
1111
a <a>fullwidth opening punctuation</a> ,
1112
1112
<a>fullwidth middle dot punctuation</a> ,
1113
+ <a>fullwidth closing punctuation</a> ,
1113
1114
or ideographic space (U+3000).
1114
1115
Else set it full-width.
1115
1116
<li>
@@ -1118,16 +1119,25 @@ Fullwidth Punctuation Collapsing</h4>
1118
1119
<a>fullwidth middle dot punctuation</a> ,
1119
1120
or ideographic space (U+3000).
1120
1121
Else set it full-width.
1121
- <li>
1122
- Set <a>fullwidth closing punctuation</a> followed by <a>fullwidth opening punctuation</a>
1123
- each at "3/4-width", i.e. halfway between full-width and half-width.
1124
1122
</ul>
1125
1123
1124
+ ISSUE: The above handling of opening—closing bracket pairs
1125
+ matches [[JLREQ]]
1126
+ but does not correctly handle the case of mismatched font sizes.
1127
+ Earlier drafts trimmed 1/4 of each character, essentially averaging the spacing.
1128
+ Other options are possible: use smallest, use largest, use common ancestor (like 'letter-spacing' )...
1129
+ See <a href="https://github.com/w3c/csswg-drafts/issues/1668#issuecomment-320212394">issue/discussion</a> .
1130
+
1126
1131
<div class="example">
1127
1132
The following example table lists the punctuation pairs
1128
1133
affected by adjancent-pairs trimming.
1129
1134
It uses halfwidth equivalents to approximate the trimming effect.
1130
1135
1136
+ <style>
1137
+ .char { border: 1px dotted gray; }
1138
+ .quarter { font-size: 25%; }
1139
+ samp[lang="ja"] { font-family: "MS Gothic", "Osaka-Mono", monospace }
1140
+ </style>
1131
1141
<table class="data">
1132
1142
<caption> Demonstration of adjacent-pairs punctuation trimming</caption>
1133
1143
<thead>
@@ -1143,7 +1153,7 @@ Fullwidth Punctuation Collapsing</h4>
1143
1153
<td><samp lang="ja" class="char"> ・</samp><samp lang="ja" class="char"> (</samp>
1144
1154
<tr><th scope=row> Closing—Opening
1145
1155
<td><samp lang="ja" class="char"> 〕</samp> +<samp lang="ja" class="char"> (</samp>
1146
- <td><samp lang="ja" class="char"> ) <span class="quarter">   </span></ samp><samp lang="ja" class="char"><span class="quarter">   </span > (</samp>
1156
+ <td><samp lang="ja" class="char"> 〕 </ samp><samp lang="ja" class="char"> (</samp>
1147
1157
<tr><th scope=row> Ideographic Space—Opening
1148
1158
<td><samp lang="ja" class="char"> </samp> +<samp lang="ja" class="char"> (</samp>
1149
1159
<td><samp lang="ja" class="char"> </samp><samp lang="ja" class="char"> (</samp>
0 commit comments