@@ -785,17 +785,17 @@ Line Spacing: the 'line-height' property</h3>
785785 Note that these are metrics of the font as a whole
786786 and need not correspond to the ascender and descender of any individual glyph.
787787
788- The User Agent must align the glyphs in a non-replaced inline box
789- to each other by their relevant baselines.
788+ The User Agent must align the glyphs in a non-replaced [= inline box=]
789+ to each other by their [=dominant baselines=] .
790790 Then, for each glyph,
791791 determine the <var> A</var> and <var> D</var> .
792- Note that glyphs in a single element
793- may come from different fonts
794- and thus need not all have the same <var> A</var> and <var> D</var> .
792+ ( Note that glyphs in a single element
793+ can come from different fonts
794+ and thus need not all have the same <var> A</var> and <var> D</var> .)
795795 If the inline box contains no glyphs at all,
796796 or if it contains only glyphs from fallback fonts,
797797 it is considered to contain a “strut” (an invisible glyph of zero width)
798- with the <var> A</var> and <var> D</var> of the element 's first available font.
798+ with the <var> A</var> and <var> D</var> of the box 's [= first available font=] .
799799
800800 <p id="inline-box-height"> When the value of the 'line-height' property
801801 is something other than ''line-height/normal'' ,
@@ -843,11 +843,14 @@ Line Spacing: the 'line-height' property</h3>
843843 implementations that use OpenType or TrueType fonts
844844 use the metrics <code> sTypoAscender</code> and <code> sTypoDescender</code>
845845 from the font's OS/2 table
846- for <var> A </var> and <var> D </var>
847- (after scaling to the current element's font size) .
846+ (after scaling to the current element's font size)
847+ to find <var> A </var> and <var> D </var> .
848848 In the absence of these metrics,
849849 the "Ascent" and "Descent" metrics from the HHEA table should be used.
850850
851+ Note: The ascent and descent metrics in the font data might need to be adjusted
852+ to account for the [=dominant baseline=] ’s offset from zero.
853+
851854<h3 id="line-sizing-property">
852855Line Sizing Containment: the 'line-sizing' property</h3>
853856
0 commit comments