Re: [csswg-drafts] [css-inline-3] The behavior when one value is specified for `text-box-edge` (#10703)

> Defaulting to alphabetic is a more aggressive setting, since alphabetic means you will almost definitely be clipping glyphs. I went with text as the default because if the author isn't strongly wanting to clip to the alphabetic baseline, I thought we should be more conservative. At least that was my thinking here.

That makes sense, thank you for the background. I agree `text` is safer. `cap` and `ex` are "unsafe" values as you mentioned, so the suggestion to pick the unsafe under edge may be reasonable if we limit it only for these two values?

> if you specify only alphabetic, then what should the top be?

Isn't it invalid to specify only `alphabetic`? That's our interpretation of the spec, and our current implementation rejects it. Did we miss something?

@michaeltaranto Thank you for your feedback, please see discussion here, we appreciate your comments if any.

-- 
GitHub Notification of comment by kojiishi
Please view or discuss this issue at https://github.com/w3c/csswg-drafts/issues/10703#issuecomment-2272410785 using your GitHub account


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Wednesday, 7 August 2024 00:43:29 UTC