Closed Bug 1988596 Opened 11 months ago Closed 11 months ago

Enable layout.css.text-autospace.enabled on Nightly

Categories

(Core :: Layout: Text and Fonts, task)

task
Points:
1

Tracking

()

RESOLVED FIXED
145 Branch
Tracking Status
firefox145 --- fixed

People

(Reporter: TYLin, Assigned: TYLin)

References

(Blocks 1 open bug)

Details

(Keywords: dev-doc-complete, perf-alert, Whiteboard: [jp-mvp] [wptsync upstream])

Attachments

(1 file)

Per suggestion in bug 1987997 comment 3, we'd want to enable text-autospace on Nightly for a few weeks to gather feedback and to have CI report any performance regressions in the early 145 cycle.

Blocks: 1987997
Status: NEW → ASSIGNED
Points: --- → 1
Whiteboard: [jp-triage] → [jp-mvp]

A note for this should be added to https://developer.mozilla.org/en-US/docs/Mozilla/Firefox/Experimental_features and https://developer.mozilla.org/de/docs/Mozilla/Firefox/Releases/145 (once it exists). And it is also worth adding this to the Nightly release notes. Ting-Yu Lin, can you request to add it to the Firefox release notes?

Sebastian

Flags: needinfo?(aethanyc)
Keywords: dev-doc-needed

Sounds like a good idea adding a release note.

Here is the release note in bug 1981086 comment 1. I like the wording, so I copy & paste it here to keep it consistent when we are ready to ship the feature (hopefully also in 145 cycle). (Note: I remove "around punctuation" in the suggested wording, because we are not planning to implement bug 1986500, and no other browser supports it.

Release Note Request (optional, but appreciated)
[Why is this notable]: Gives authors control over the spacing between adjacent characters.
[Affects Firefox for Android]: yes
[Suggested wording]: Implemented support for the text-autospace property, which provides authors control over the spacing between adjacent characters, allowing for automatic control over spacing between different scripts.
[Links (documentation, blog post, etc)]:
https://drafts.csswg.org/css-text-4/#text-autospace-property

relnote-firefox: --- → ?
Flags: needinfo?(aethanyc)
Depends on: 1989030
Whiteboard: [jp-mvp] → [jp-mvp] [jp-blocked]
Component: Layout: Block and Inline → Layout: Text and Fonts
Pushed by aethanyc@gmail.com: https://github.com/mozilla-firefox/firefox/commit/c3c8449fffc0 https://hg.mozilla.org/integration/autoland/rev/aaa062fb966b Enable layout.css.text-autospace.enabled on Nightly. r=jfkthame,layout-jp-market-reviewers
Pushed by nbeleuzu@mozilla.com: https://github.com/mozilla-firefox/firefox/commit/d47eb03be2d5 https://hg.mozilla.org/integration/autoland/rev/0e1982643816 Revert "Bug 1988596 - Enable layout.css.text-autospace.enabled on Nightly. r=jfkthame,layout-jp-market-reviewers" for causing bc failures on browser_test_clipboardcache.js
Failed to create upstream wpt PR due to merge conflicts. This requires fixup from a wpt sync admin.
Flags: needinfo?(aethanyc) → needinfo?(james)
Whiteboard: [jp-mvp] [jp-blocked] → [jp-mvp] [jp-blocked], [wptsync upstream error]
Flags: needinfo?(james) → needinfo?(aethanyc)
Flags: needinfo?(aethanyc) → needinfo?(james)
Whiteboard: [jp-mvp] [jp-blocked], [wptsync upstream error] → [jp-mvp] [wptsync upstream error]

I think we may just need to increase the timeout for browser_test_clipboardcache.js. I've pushed a try job to see if this helps:
https://treeherder.mozilla.org/jobs?repo=try&revision=ec90b40d78e33f32ac692bb60dd5fdcdaed05959

(In reply to Jonathan Kew [:jfkthame] from comment #8)

I think we may just need to increase the timeout for browser_test_clipboardcache.js. I've pushed a try job to see if this helps:
https://treeherder.mozilla.org/jobs?repo=try&revision=ec90b40d78e33f32ac692bb60dd5fdcdaed05959

There are other oranges in this try run. It is unclear to me if they are related after enabling text-autospace.

https://phabricator.services.mozilla.com/D264863 does not include any wpt test to upstream.

Flags: needinfo?(james)

(In reply to Pulsebot from comment #4)

Pushed by aethanyc@gmail.com:
https://github.com/mozilla-firefox/firefox/commit/c3c8449fffc0
https://hg.mozilla.org/integration/autoland/rev/aaa062fb966b
Enable layout.css.text-autospace.enabled on Nightly.
r=jfkthame,layout-jp-market-reviewers

Perfherder has detected a build_metrics performance change from push aaa062fb966ba6abd9398e2ca4d0173916cdbc25.

If you have any questions, please reach out to a performance sheriff. Alternatively, you can find help on Slack by joining #perf-help, and on Matrix you can find help by joining #perftest.

Improvements:

Ratio Test Platform Options Absolute values (old vs new)
5% build times linux64-shippable nightly taskcluster-projects/970387039909/machineTypes/c3d-standard-60-lssd 3,189.31 -> 3,039.85
2% installer size linux64-shippable nightly 88,219,467.00 -> 86,196,084.33

Details of the alert can be found in the alert summary, including links to graphs and comparisons for each of the affected tests.

If you need the profiling jobs you can trigger them yourself from treeherder job view or ask a performance sheriff to do that for you.

You can run all of these tests on try with ./mach try perf --alert 46840

The following documentation link provides more information about this command.

Keywords: perf-alert

In this try run, bug 1989128 appears to prevent the browser_test_clipboardcache.js timeout (bc32 on Linux 24.04 tsan). I'll reland the patch. If it still times out permanently like comment 6, we can use a longer timeout as suggested in comment 8.

Depends on: 1989128
Depends on: 1989851
Pushed by aethanyc@gmail.com: https://github.com/mozilla-firefox/firefox/commit/1a1d4462e4e4 https://hg.mozilla.org/integration/autoland/rev/ff7bf296a64e Enable layout.css.text-autospace.enabled on Nightly. r=jfkthame,layout-jp-market-reviewers

Note to Sheriffs: Enabling text-autospace is known to cause performance regressions in the Talos perf_reftest_singletons suite, especially svg-text-textLength-1.html. This is tracked in bug 1987997, which is expected to mitigate the performance regressions.

Status: ASSIGNED → RESOLVED
Closed: 11 months ago
Resolution: --- → FIXED
Target Milestone: --- → 145 Branch

Note added to out 145 nightly release notes with this wording:

Starting with Firefox 145, the text-autospace property is supported, allowing automatic spacing adjustments between characters from different scripts.

Regressions: 1990319
Regressions: 1990258
Regressions: 1991421
Regressions: 1991423
Regressions: 1991424
Regressions: 1991689
Created web-platform-tests PR https://github.com/web-platform-tests/wpt/pull/55193 for changes under testing/web-platform/tests
Whiteboard: [jp-mvp] [wptsync upstream error] → [jp-mvp] [wptsync upstream]
Upstream PR merged by moz-wptsync-bot
QA Whiteboard: [qa-triage-done-c146/b145]

Removing the nightly+ relnote keyword and removing from 146 nightly release notes as this feature was uplifted to beta in bug 1981086.

Also noted in bug 1981086, but adding here for visibility -> MDN docs changes can be tracked in the following GitHub issue https://github.com/mdn/content/issues/41501

You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: