WICG / canvas-formatted-text

Other
81 stars 16 forks source link

How to handle leading/trailing whitespace? #5

Closed travisleithead closed 3 years ago

travisleithead commented 3 years ago

Copied from: https://github.com/MicrosoftEdge/MSEdgeExplainers/issues/373

How should white space collapsing behavior (like collapsing trailing or leading whitespaces around a line break) be handled? CSS uses white-space and related properties. How might these configuration options be applied to this API?


Current behavior appears to be: