mirror of
https://github.com/servo/servo.git
synced 2025-08-12 08:55:32 +01:00
Re-use the TextMetrics data structure in the Layout 2020 fragment tree (#30823)
This data structure has all of the metrics needed to render a font and is in `Au`. We'll need more of these metrics for implementing `vertical-align` and its use doesn't increase the size of the Fragment tree (as the BoxFragment is still larger). In addition, this will be helpful when switching layout to `Au`.
This commit is contained in:
parent
f0b4162328
commit
8ded1072ce
4 changed files with 20 additions and 46 deletions
|
@ -1,2 +0,0 @@
|
|||
[text-decoration-thickness-from-zero-sized-font.html]
|
||||
expected: FAIL
|
Loading…
Add table
Add a link
Reference in a new issue