You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
text-box-trim and text-box-edge in Canary behind a flag #205
Thanks for sharing, i'll try and summarise some thoughts:
text-box-edge
I find this property a little unpredictable. Setting the edge to cap or ex and not using the alphabetic baseline seems counter intuitive i feel, as both metrics are measured from this point.
My opinion would be that both cap and ex set the bottom edge to alphabetic baseline by default.
Note: The image below (used in Section 5.2 / Figure 5) I think would be more valuable if it used a font that had greater difference between the cap height and the ascender. This would help to illustrate the distinct edge values.
So in the future the trim that Capsize provides could be:
.text {
text-box-edge: cap; // (assuming above feedback, means not requiring `alphabetic`)
text-box-trim: both;
}
Let me know if you want to talk further about the above.
great items of feedback! I've sent a summarization to the eng team as well as a link to this post. will post back here with any changes made due to the feedback, thanks! 🙏🏻
Activity
michaeltaranto commentedon Jun 23, 2024
Thanks for sharing, i'll try and summarise some thoughts:
text-box-edgeI find this property a little unpredictable. Setting the edge to
caporexand not using thealphabeticbaseline seems counter intuitive i feel, as both metrics are measured from this point.My opinion would be that both
capandexset the bottom edge to alphabetic baseline by default.Note: The image below (used in Section 5.2 / Figure 5) I think would be more valuable if it used a font that had greater difference between the cap height and the ascender. This would help to illustrate the distinct edge values.
So in the future the trim that Capsize provides could be:
Let me know if you want to talk further about the above.
argyleink commentedon Jun 24, 2024
great items of feedback! I've sent a summarization to the eng team as well as a link to this post. will post back here with any changes made due to the feedback, thanks! 🙏🏻
[css-inline-3] Mark issue wrt bad illustration #11364 #10703