Skip to content

[css21][css-inline] height of inline box with line-height:normal and primary font not used #1800

@frivoal

Description

@frivoal

This is part of the #1796 series. Read that issue for context

Test source
Ref source (mismatch)
Live test
Live ref (mismatch)

As seen in the test above, in the general case, if a inline-level box contains only characters from fallback fonts, all browsers agree to size the height of a line-height:auto inline-level box using the metrics of the fonts actually used plus the metrics of the primary font, even if it is not used. I.E. they take the strut into account.

However, see #1798 for a possible exception.

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions