Re: [svgwg] `baseline-y` in SVG (#1075)

@karlcow
> First note that svg 2 is **not** adding any new features. But documenting ideas is worth and trying to understand any possible issues. Just we are clear about the context of the discussion.

Alas! But the framing is helpful, thank you.

<br/>

> Nit: x and y are probably not the right way of calling this.

Please, what is? Possible alternative: `baseline`, being a numeric *y* value, or being an array of length two, <code>[<i>x</i>&nbsp;<i>y</i>]</code>? Or something else.

<br/>

> If I understand the proposal you would like a way to specify the point coordinates in the shape which should align with the baseline of the text.

Yes, exactly.

For me, especially for text set horizontally (extended Roman, Greek, Cyrillic, Arabic, Hebrew), but it seems proper also to correctly work for vertical CJKV. Of course, it might be that typesetting geeks know the problem to be more complicated, in which case I don&rsquo;t know what. The location is to be specified in `viewBox` space, as that is the only space known at the time of SVG creation. 

<br/>

> How is the shape inserted in the line of text? With an img src or with a pure inline svg element?

For me, always <code><img&nbsp;&hellip;&nbsp;src="&hellip;"&nbsp;&hellip;></code>; but it should work for both, unless there is a reason that it should&rsquo;t.

-- 
GitHub Notification of comment by jdaw1
Please view or discuss this issue at https://github.com/w3c/svgwg/issues/1075#issuecomment-4120672370 using your GitHub account


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

Received on Tuesday, 24 March 2026 18:59:55 UTC