You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Our CSS text-spacing implementation already incorporates these proposals, i.e., the trim-end and space-first are part of text-spacing: normal. So the normal behavior becomes equivalent to space-first trim-end trim-adjacent ideograph-alpha ideograph-numeric.
We should also incorporate the last suggestion in the comment by @frivoal:
Modify hanging-punctuation: first to hang a paragraph-initial ideographic space as well.
The text was updated successfully, but these errors were encountered:
- resolves#1080
Changes:
- Add ideograph-alpha and ideograph-numeric to normal (default)
- Do not apply ideograph-alpha/ideograph-numeric spacing to non-zero margin/border/padding
- Use 1/8 of full-width spacing for ideograph-alpha/ideograph-numeric
- Modify `hanging-punctuation: first` to hang a paragraph-initial ideographic space as well.
Tests:
- packages/core/test/files/text-spacing/text-spacing-ja.html
- packages/core/test/files/text-spacing/hanging-punctuation-first-indent-ja.html
Recently, the CSS text-spacing property (CSS Text Level 4) draft spec has made the following changes:
We should update our CSS text-spacing implementation to align to this latest spec.
The related csswg-drafts issue (already resolved) about ideograph-alpha/ideograph-numeric spacing:
Also, there have been the following issues, already resolved or about to be resolved.
Our CSS text-spacing implementation already incorporates these proposals, i.e., the
trim-end
andspace-first
are part oftext-spacing: normal
. So thenormal
behavior becomes equivalent tospace-first trim-end trim-adjacent ideograph-alpha ideograph-numeric
.We should also incorporate the last suggestion in the comment by @frivoal:
hanging-punctuation: first
to hang a paragraph-initial ideographic space as well.The text was updated successfully, but these errors were encountered: