- From: fantasai via GitHub <sysbot+gh@w3.org>
- Date: Tue, 12 Jun 2018 23:26:38 +0000
- To: public-css-archive@w3.org
Rewording and expanding on the previous comment in outline form: 1. We made some clarifications to how hanging-punctuation and initial-letter interact, see https://github.com/w3c/csswg-drafts/commit/502194f64482c12fd75486a7b6154ad371f333ae 2. We ignore the hanging punctuation when positioning the initial letter. Fine. What happens if we put a background on it? Is the punctuation included? - Non-initial-letter hanging punctuation is included in its parent inline box’s bounds (it's just not measured for fit for line-breaking, alignment, etc). So it would be consistent to include it (plus this helps ensure sufficient color contrast). - Text layout uses the logical bounds of the character (advance width, ascent/descent, etc.) not the glyph bounds, so the same method (measure the contents as normal) isn't directly applicable. If we include the punctuation, do we use its glyph bounds or its logical bounds? 3. Related, but independent question: should we allow `initial-letter` to apply to an inline element that is not the first-most descendant of the block container, but is preceded only by hanging punctuation? 4. Note, the issue of a pseudo-element for controlling the formatting of first-letter–associated punctuation is filed as #2040. It is an independent problem. -- GitHub Notification of comment by fantasai Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/310#issuecomment-396765893 using your GitHub account
Received on Tuesday, 12 June 2018 23:26:41 UTC