Skip to content

[Gecko Bug 2010717] Implement alignment-baseline: alphabetic/ideographic/central/mathematical/hanging.#59796

Closed
moz-wptsync-bot wants to merge 1 commit into
masterfrom
gecko/2010717
Closed

[Gecko Bug 2010717] Implement alignment-baseline: alphabetic/ideographic/central/mathematical/hanging.#59796
moz-wptsync-bot wants to merge 1 commit into
masterfrom
gecko/2010717

Conversation

@moz-wptsync-bot
Copy link
Copy Markdown
Collaborator

Also adds WPT reftests to validate alignment behavior in horizontal and vertical
writing modes with the different alignment-baseline values. Additionally:

  • The alignment-baseline: middle tests have failing expectations. This is
    because the existing implementation does not match the css-inline-3 definition
    (which the new WPTs follow). See Bug 2030203.

  • The WidthTest-Regular.otf support font was updated to remove its unusual
    ideographic-under baseline value, which affected its synthesized central
    baseline. With the new support for alignment-baseline: central, this broke a
    number of text-combine-upright-compression-* WPT reftests. The non-centered
    baseline values were removed from this test using FontForge, so that the
    synthesized central baseline matched the expectation of the test references.

Differential Revision: https://phabricator.services.mozilla.com/D292136

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2010717
gecko-commit: c1fe9407a01153ffbe5d56a4fb877ead6da0bfba
gecko-commit-git: 482c9f881b6a4e972cbe6a905e5bd9a1d17ceefb
gecko-reviewers: layout-reviewers, firefox-style-system-reviewers, dshin

…ical/hanging.

Also adds WPT reftests to validate alignment behavior in horizontal and vertical
writing modes with the different `alignment-baseline` values. Additionally:

- The `alignment-baseline: middle` tests have failing expectations. This is
  because the existing implementation does not match the css-inline-3 definition
  (which the new WPTs follow). See Bug 2030203.

- The WidthTest-Regular.otf support font was updated to remove its unusual
  ideographic-under baseline value, which affected its synthesized central
  baseline. With the new support for `alignment-baseline: central`, this broke a
  number of `text-combine-upright-compression-*` WPT reftests. The non-centered
  baseline values were removed from this test using FontForge, so that the
  synthesized central baseline matched the expectation of the test references.

Differential Revision: https://phabricator.services.mozilla.com/D292136

bugzilla-url: https://bugzilla.mozilla.org/show_bug.cgi?id=2010717
gecko-commit: c1fe9407a01153ffbe5d56a4fb877ead6da0bfba
gecko-commit-git: 482c9f881b6a4e972cbe6a905e5bd9a1d17ceefb
gecko-reviewers: layout-reviewers, firefox-style-system-reviewers, dshin
Copy link
Copy Markdown
Collaborator

@wpt-pr-bot wpt-pr-bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The review process for this patch is being conducted in the Firefox project.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants