Closed Bug 1795612 Opened 4 years ago Closed 4 years ago

[wpt-sync] Sync PR 36484 - [hyphens] Implement layout part of `hyphenate-limit-chars`

Categories

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

task

Tracking

()

RESOLVED FIXED
108 Branch
Tracking Status
firefox108 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[hyphens] Implement layout part of hyphenate-limit-chars

This patch implements the layout part of the
hyphenate-limit-chars proeprty, supporting the maximum
length of the word / before the hyphen / after the hyphen.

Because kMinimum{Prefix,Suffix}Length constants already
exist, theoretically supporting the prefix/suffix limits was
just to change the constants to the property values, plus
supporting the maximum limit of the word length. The constants
were not working as expected however, so this patch includes
minor changes to comparisons.

Bug: 924069
Change-Id: Id360e0e1e6cf1e99a76037bd976e9492953166f8

Reviewed-on: https://chromium-review.googlesource.com/3955123
WPT-Export-Revision: 1236e7e247f58bbd93236b7f4d6af4e8a3251021

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

CI Results

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

Total 1 tests

Status Summary

Firefox

FAIL: 1

Chrome

FAIL: 1

Safari

FAIL: 1

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/6b6273ca0208 [wpt PR 36484] - [hyphens] Implement layout part of `hyphenate-limit-chars`, a=testonly https://hg.mozilla.org/integration/autoland/rev/cb4a88d5d285 [wpt PR 36484] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → 108 Branch
You need to log in before you can comment on or make changes to this bug.