Open
Description
https://html.spec.whatwg.org/multipage/canvas.html#dom-textmetrics-getbaselines
In WebKit, we synthesize these baselines. I don't think it's clear about whether or not synthesized values should be present in the dictionary (or non-null, if we use that mechanism).
Is this API meant to be compatible with text that the browser draws? Or is it meant to be a faithful as possible to the font file?
Or, are we required to stop synthesizing these baselines in order to implement this API? (Thus potentially changing how the entire Web looks for some users)
If it's meant to be compatible with the text that the browser draws, should baselines present in the font but unused by the browser be present?