On 12/11/16 17:49, Emilio Cobos Álvarez wrote:
I think most developers affected by this would be somewhat happy with
width and height just for textual elements. They also might like some
exposure of the actual selected font so that font table information can
be used in layout.

There is a proposed Font Metrics API that does this: https://drafts.css-houdini.org/font-metrics-api/

It is still in early exploratory stages. Please send feedback on this API as indicated near the top of the draft.

--
Simon Sapin
_______________________________________________
dev-servo mailing list
dev-servo@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-servo

Reply via email to