Re: [csswg-drafts] [css-inline-3] Propose N/A value for em-top and em-bottom baselines (#5380)

Tests for cases I briefly explained in the meeting on Windows:
![image](https://user-images.githubusercontent.com/1274377/89104741-8f058100-d456-11ea-9477-66bacf3ac088.png)
The blue lines are baseline/ascent/descent (for Windows), red lines are em-top/em-bottom computed by the currently proposed logic in #5312:
```
p = 1em/(ascent - descent);
return (ascent*p, descent*p);
```

MSGothic is an early '90s font, has small internal leading, so the logic works. Meiryo, our current default Japanese font, has modern metrics (big internal leading) but doesn't have the `BASE` table yet. Yu is newer than Meiryo, has similar metrics as Meiryo, but it has the `BASE` table, so we don't have to worry about.

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


-- 
Sent via github-notify-ml as configured in https://github.com/w3c/github-notify-ml-config

Received on Saturday, 1 August 2020 15:37:24 UTC