Open Bug 1253615 Opened 4 years ago Updated 4 months ago

Implement hanging-punctuation from CSS Text Module Level 3


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

Not set




(Reporter: xidorn, Unassigned)


(Blocks 1 open bug, )


(Keywords: dev-doc-needed, DevAdvocacy, parity-safari)

hanging-punctuation is a useful feature for CJK layout. We should implement it.
Blocks: css-text-3
No longer blocks: 1253614
Fwiw, I'm reading through BreakAndMeasureText() and nsTextFrame::ReflowText() right now, and I think we can repurpose the aTrimWhitespace parameter to do this.
(The code would need some additional tweaking to handle allow-end, though.)
I started a CSS Reference page on `hanging-punctuation`, but it needs serious revision work: namely all the data associated with the property, browser support, specs, and examples. I know the page is supposed to pull data from the codebase, but I haven't yet submitted a pull request. For now though, the basic information is there for people who need the reference.

I hope my creation of this page is acceptable. I'm a new editor of MDN and I don't know all the proper editing protocols and procedures.
QA Whiteboard: [DevRel:P2]
Keywords: DevAdvocacy
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
Keywords: parity-safari
Whiteboard: [parity-webkit]
Type: defect → enhancement
You need to log in before you can comment on or make changes to this bug.