Open Bug 1253615 Opened 4 years ago Updated 4 months ago
Implement hanging-punctuation from CSS Text Module Level 3
hanging-punctuation is a useful feature for CJK layout. We should implement it.
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. https://developer.mozilla.org/en-US/docs/Web/CSS/hanging-punctuation
Mass bug change to replace various 'parity' whiteboard flags with the new canonical keywords. (See bug 1443764 comment 13.)
You need to log in before you can comment on or make changes to this bug.