- From: Florian Rivoal via GitHub <sysbot+gh@w3.org>
- Date: Sat, 03 Dec 2016 15:13:58 +0000
- To: public-css-archive@w3.org
> If we were to fix ::first-letter: > We have style computed at the point we build box tree, so it is technically possible for box tree building of ::first-letter to take text-combine-upright into account. This looks reasonable to me > Any other possible ways to go? Maybe. I don't think it is a good, idea, but instead of having `::first-letter` prevent `text-combine-upright` from working, we could have text-combine-upright prevent `::first-letter` from working. The spec currently says: > For other text layout purposes, e.g. emphasis marks, text-decoration, spacing, etc. the resulting composition is treated as a single glyph representing the Object Replacement Character U+FFFC. Maybe we could try to extend that logic to earlier than layout, and since `::first-letter` does not select U+FFFC, then in the presence of `text-combine-upright` affecting the beginning of an element, `::frst-letter` would select nothing. It's not obvious if this can happen at box creation time, but if we consider that the composition done by `text-combine-upright` is creating a box, then we can just have that box be created before we consider whether `::first-letter` should. That said, even if we can make this work, I still prefer your suggestion above. -- GitHub Notification of comment by frivoal Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/653#issuecomment-264644848 using your GitHub account
Received on Saturday, 3 December 2016 15:14:04 UTC