Skip to content

[css-inline] baseline values for dominant-baseline and alignment-baseline #1121

@kojiishi

Description

@kojiishi

Some questions and suggestions to the values of the 'dominant-baseline' and the 'alignment-baseline':

  1. I believe 'alphabetic' means the baseline of Latin scripts. Is this correct?
  2. If so, could we use 'latin' or 'roman', since every script has alphabets, unless this is already implemented and used? I don't know the differences between Latin and Roman, but OpenType uses 'romn' tag in the baseline table.
  3. What are the difference between 'ideographic' and 'text-bottom', when both says the bottom? Does one include internal leading while the other doesn't? Or is the diff only appear in inline replaced elements?
  4. Could we not use the term 'ideographic' for the under-side baseline? Opposite from the 'alphabetic` case, I guess this is from OpenType uses 'ideo' for the bottom in its baseline table, but this value is not for ideographic scripts, and thus is confusing for authors of ideographic scripts.

FYI, @eroux is working on BASE table support in HarfBuzz.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions