Re: [csswg-drafts] Images with layout information (#4116)

Even if we *only* add it to SVG, that would technically be sufficient for everything else, since you can always just do `<svg><image href="..." /></svg>`.

I agree that this information best belongs in the image itself.

@faceless2's suggested approach looks very similar to what we've talked about for allowing an HTML subtree to override its normal baseline calculations. Sounds reasonable to me.

Note that, for bitmaps (using an SVG `image`), you can always embed invisible text to use for baselines.

The nice thing about deferring to a textual element is that you get all the baselines for free, not just one.

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

Received on Monday, 22 July 2019 20:54:18 UTC