[css-houdini-drafts] [font-metrics-api] Which line box?

SimonSapin has just created a new issue for 
https://github.com/w3c/css-houdini-drafts:

== [font-metrics-api] Which line box? ==
https://drafts.css-houdini.org/font-metrics-api/#fontmetrics-definition
 mentions several times "the line box". Which line box is that? What 
happens if the input text contains a preserved (e.g. with 
`white-space: pre`) newline? If the input element contains `<br>`, or 
a block, or an atomic (e.g. image) inline?

I think this draft is missing, for each of ach of `measureElement` and
 `measureText`, a detailed algorithm for how to turn their respective 
arguments into a single line of text. (Only text, with no line break.)
 Maybe it should raise in some cases?

Please view or discuss this issue at 
https://github.com/w3c/css-houdini-drafts/issues/334 using your GitHub
 account

Received on Saturday, 12 November 2016 21:40:10 UTC