Open Bug 1951795 Opened 1 year ago Updated 1 month ago

[css-text-4] Implement text-spacing-trim property

Categories

(Core :: Layout: Text and Fonts, enhancement)

enhancement

Tracking

()

Size Estimate M

People

(Reporter: sebo, Unassigned)

References

(Depends on 3 open bugs, Blocks 5 open bugs, )

Details

(Keywords: dev-doc-needed, parity-chrome, web-feature, Whiteboard: [jp-reserve][platform-feature])

User Story

web-feature:text-spacing-trim
webcompat-risk:low

The CSS Text Module Level 4 defines a text-spacing-trim property that controls spacing around CJK punctuation characters on the same line.
It is a longhand for the text-spacing property, which is meant to be implemented in bug 289130.

This bug is meant to implement that property.

Sebastian

Size Estimate: --- → M
User Story: (updated)
Depends on: 1980120
Depends on: 1980124
Depends on: 1980127
Whiteboard: [jp-reserve]
Whiteboard: [jp-reserve] → [jp-reserve][platform-feature][webcompat:risk-low]

Yu Gothic UI (system-ui for Japanese Windows) must be explicitly excluded from this specification for the time being.

(In reply to Tatsunori Uchino from comment #2)

Yu Gothic UI (system-ui for Japanese Windows) must be explicitly excluded from this specification for the time being.

Which issue does this font have? Broken halt feature?

Yes, its GPOS table and halt is completely rotten and broken.

https://github.com/w3c/csswg-drafts/issues/11074

Yu Gothic UI has just been fixed by the latest monthly KB. You do not need a patch any longer.

I prepared a test case: https://codepen.io/tats-u/pen/QwEWwEq (Note: It will try to download Source Han Sans VF .woff2 (which is 14MB))

Update: the CSS spec needs to be updated to satisfy some of the above test cases.
At least making the display match Chromium-based browsers would be the first milestone.

User Story: (updated)
Whiteboard: [jp-reserve][platform-feature][webcompat:risk-low] → [jp-reserve][platform-feature]
You need to log in before you can comment on or make changes to this bug.