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
This reverts commit 482c9f881b.
Revert "Bug 2029869 - Synthesize vertical font metrics/baselines from horizontal metrics/baselines. r=layout-reviewers,jfkthame"
This reverts commit 8699ee2727.
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
This reverts commit 33cc5477b5.
Revert "Bug 2035572 - Support <angle> calc() expressions that can't be resolved at parse time. r=firefox-style-system-reviewers,emilio"
This reverts commit dca3d72b0e.
Revert "Bug 2035572 - Support <resolution> calc() expressions that can't be resolved at parse time. r=firefox-style-system-reviewers,emilio"
This reverts commit 7dfce5f085.
Revert "Bug 2035572 - Support <time> calc() expressions that can't be resolved at parse time. r=firefox-style-system-reviewers,emilio"
This reverts commit da52359224.
Revert "Bug 2035572 - Support <percentage> calc() expressions that can't be resolved at parse time. r=firefox-style-system-reviewers,emilio"
This reverts commit 8b6a586204.
Revert "Bug 2035572 - Support <number>/<integer> calc() expressions that can't be resolved at parse time. r=firefox-style-system-reviewers,emilio"
This reverts commit 1bf73a8281.
Revert "Bug 2035572 - Rename CalcLengthPercentage to CalcNumeric for use with general numeric types. r=firefox-style-system-reviewers,emilio"
This reverts commit 97b99bd04a.
Revert "Bug 2035572 - Move <number> and <integer> types to specified/number.rs. r=firefox-style-system-reviewers,emilio"
This reverts commit 012b92938c.
Moves the existing dominant-baseline CSS property out from SVG-specific
struct and into the general inherited box struct. Also adds new WPTs for
testing dominant-baseline against the alignment-baseline property.
Differential Revision: https://phabricator.services.mozilla.com/D282788
Replaces the `vertical-align` longhand with the shorthand version and the corresponding `alignment-baseline` and `baseline-shift` longhands (the `baseline-source` property was already implemented). Some notes about this change:
- The CSS Inline Layout Module Level 3 specification introduced new
values to `alignment-baseline` and `baseline-shift` that were not
available in the original `vertical-align` longhand. This change
only implements the original keywords; the new values will be used
in a future patch.
- The SVG layout still ignores the `vertical-align` (and now the
corresponding longhands) in favor of the `dominant-baseline`. This
will also be addressed in a future patch.
Differential Revision: https://phabricator.services.mozilla.com/D277725