Open Bug 1611575 Opened 1 year ago Updated 1 year ago

Should vertical-align:middle behave differently when the dominant baseline is not alphabetic?

Categories

(Core :: Layout: Block and Inline, defect, P3)

defect

Tracking

()

People

(Reporter: mozilla-apprentice, Unassigned)

References

(Blocks 1 open bug)

Details

Resolutions were made for csswg-drafts/#4495.

Should vertical-align:middle behave differently when the dominant baseline is not alphabetic?

  • RESOLVED: "vertical-align: middle" always uses halfway between alphabetic baseline and x-height, except in modes where the x-height is meaningless (vertical writing modes with upright text orientation)
  • RESOLVED: In such "meaningless" cases, "middle" means the same as "central".

Discussion.

See discussion linked above. More generally, we don't yet support all the values for vertical-align baselines defined in https://drafts.csswg.org/css-inline-3/#alignment-baseline-property: there's not just middle but also central and center, each with a slightly different meaning.

Blocks: css-inline
You need to log in before you can comment on or make changes to this bug.