Re: [csswg-drafts] 'line-height: normal' definition should reflect reality of determining based on fonts

Blink does for `line-height: normal`:

1. Collect used fonts for the run.
2. For each used fonts:
  1. Compute A and D from the font metrics (note, IIUC, our A/D are slightly different from Gecko's)
  2. Compute L/2 using line spacing from the font metrics ((line spacing - (A + D)) / 2)
3. Compute the union of A' (A + L/2) and D' (D + L/2) of all used fonts.

I believe this is mostly the same as WebKit.

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

Received on Friday, 21 April 2017 06:05:45 UTC