Closed Bug 1859305 Opened 2 years ago Closed 2 years ago

[wpt-sync] Sync PR 42557 - [text-autospace] TextDirection support

Categories

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

task

Tracking

()

RESOLVED FIXED
121 Branch
Tracking Status
firefox121 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

Sync web-platform-tests PR 42557 into mozilla-central (this bug is closed when the sync is complete).

PR: https://github.com/web-platform-tests/wpt/pull/42557
Details from upstream follow.

Lingqi Chi <lingqi@chromium.org> wrote:

[text-autospace] TextDirection support

This CL (partial) implements the mixed-direction text support,
holding the assumption that all runs in RTL items are not ideography.

This is not perfect but in most case it should work.
TODOs:

  • IFA, base ltr. add spacing to the boundary of [LTR^, RTL] [Done]
  • IFB. base ltr. add offset to the boundary of [RTL, ^LTR]
  • IFC. base rtl. add spacing to the boundary of [LTR, ^RTL]
  • IFD. base rtl. add offset to the boundary of [LTR, ^RTL]

See https://docs.google.com/document/d/10G1uasooKpKjNeyr1wtLV85wFMlc_TK4-vb9LG_3Fzw/edit#heading=h.ylm14b5jephv
for rationals.

Bug: 1463890
Change-Id: I021058671092a70b19860930488e23138dcf1a5a
Reviewed-on: https://chromium-review.googlesource.com/4904256
WPT-Export-Revision: e955fe2f2266f93ad38b7fb2564ce84a758d4b46

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core

CI Results

Ran 9 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI

Total 1 tests and 3 subtests

Status Summary

Firefox

OK : 1
FAIL: 3

Chrome

OK : 1
FAIL: 3

Safari

OK : 1
FAIL: 3

Links

Gecko CI (Treeherder)
GitHub PR Head
GitHub PR Base

Details

New Tests That Don't Pass

Pushed by wptsync@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/94ae7b2f0376 [wpt PR 42557] - [text-autospace] TextDirection support [First part], a=testonly https://hg.mozilla.org/integration/autoland/rev/a16212880b2c [wpt PR 42557] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 2 years ago
Resolution: --- → FIXED
Target Milestone: --- → 121 Branch
You need to log in before you can comment on or make changes to this bug.