Repository navigation
layout: Implement basic values of dominant-baseline - #50196
Conversation
|
🔨 Triggering try run (#45507847557) for Linux (WPT) |
|
Test results for linux-wpt from try job (#45507847557): Flaky unexpected result (21)
Stable unexpected results that are known to be intermittent (7)
Stable unexpected results (42)
|
|
|
|
Dang, seems I made some mistake in servo/stylo#534, it was supposed to have no effect |
5af40a2 to
9f5ca0a
Compare
|
🔨 Triggering try run (#45517367284) for Linux (WPT) |
|
Test results for linux-wpt from try job (#45517367284): Flaky unexpected result (19)
Stable unexpected results that are known to be intermittent (7)
Stable unexpected results (23)
|
|
|
9f5ca0a to
deeebf1
Compare
|
🔨 Triggering try run (#45590397794) for Linux (WPT) |
|
Test results for linux-wpt from try job (#45590397794): Flaky unexpected result (24)
Stable unexpected results that are known to be intermittent (4)
|
|
✨ Try run (#45590397794) succeeded. |
deeebf1 to
f37964c
Compare
f37964c to
f78e83f
Compare
Adds support for: - `dominant-baseline: auto` - `dominant-baseline: text-top` - `dominant-baseline: text-bottom` - `dominant-baseline: middle` Note that `auto` behaves as either `alphabetic` or `central`, so these are also implemented using approximate heuristics, but won't parse. Signed-off-by: Oriol Brufau <[email protected]>
f78e83f to
77d3162
Compare
|
Test results for linux-wpt from merge queue job (#45691377669): Flaky unexpected result (20)
Stable unexpected results that are known to be intermittent (5)
Stable unexpected results (29)
|
|
Dang, forgot to land the Stylo PR and update the Cargo.toml 😓 |
|
Someone thinks this change could be added to the monthly blog post! To help with this, we need someone to answer the following questions: 😄
If this change is part of a broader feature/project please make sure the PR description contains a Please add Thanks for helping us prepare the monthly blog post! ❤️ |
|
@servo-highfive monthly update answer
|
In servo#50196 I forgot to update the `Cargo.toml` before landing, so the Stylo crates now point to a PR head. Switch to the commit hash that landed in Stylo's main branch. No actual difference between the commits: https://github.com/servo/stylo/compare/99fe0507c8cc13a7d61cff4587e8d603ebad7c0b..23730cc98790ca6323806e66c55a99fea243b4d5 Testing: Not needed, no behavior change. Signed-off-by: Oriol Brufau <[email protected]>
…ervo#535) Removes the `layout.css.dominant-baseline.enabled` pref, thus enabling `dominant-baseline` by default. Adds a new `layout.css.baseline-metric.modern.enabled` pref, which gates the modern values of `dominant-baseline` and `alignment-baseline` which didn't exist in CSS2. These values were already disabled in `alignment-baseline`, but using conditional compilation instead of a pref. Servo PR: servo/servo#50196 Signed-off-by: Oriol Brufau <[email protected]>
(cherry picked from upstream a256846 — stylo rev resolved to vendored f1e7c6bb3) Co-Authored-By: Jahanzaib Baigo <[email protected]>
Bumps Stylo to servo/stylo#535
Adds support for:
dominant-baseline: autodominant-baseline: text-topdominant-baseline: text-bottomdominant-baseline: middleNote that
autobehaves as eitheralphabeticorcentral, so these are also implemented using approximate heuristics, but won't parse. Thecentralapproximation becomes the new default behavior for non-sideways vertical writing modes, this is a change since previously we were always using thealphabeticapproximation.Testing: Various tests improve. Some new failures because we don't set presentational hints for SVG elements.
Fixes: #50189
Part of #2560