[wpt-sync] Sync PR 27021 - Hyphenate the last word if only one word in the line
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
Tracking | Status | |
---|---|---|
firefox86 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Attachments
(1 file)
Sync web-platform-tests PR 27021 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/27021
Details from upstream follow.
b'Koji Ishii <kojii@chromium.org>' wrote:
Hyphenate the last word if only one word in the line
Blink (legacy and NG) and WebKit does not hyphenate the last
word in a paragraph, except when it is a single-word paragraph.
However, when the containing block is narrow, sometimes
authors want a long last word to be hyphenated.This patch changtes the heursitic to allow hyphenation if the
line is a single-word line.CSS Text 4 has a property to control this behavior, but no
browsers have implemented it yet.Bug: 1022415
Change-Id: Ibd8d8b132e540a142f18efc09a37fed2b207bfdfReviewed-on: https://chromium-review.googlesource.com/2599567
WPT-Export-Revision: b7a7954ab7913f3c5ed304695e7d3d1350764cab
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 1•5 years ago
|
||
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Updated•5 years ago
|
Assignee | ||
Comment 2•5 years ago
|
||
Assignee | ||
Comment 3•5 years ago
|
||
CI Results
Ran 14 Firefox configurations based on mozilla-central, and Firefox, Chrome, and Safari on GitHub CI
Total 1 tests
Status Summary
Firefox
PASS: 1
Chrome
FAIL: 1
Safari
FAIL: 1
Links
Comment 5•5 years ago
|
||
Automatic update from web-platform-tests
Hyphenate the last word if only one word in the line
Blink (legacy and NG) and WebKit does not hyphenate the last
word in a paragraph, except when it is a single-word paragraph.
However, when the containing block is narrow, sometimes
authors want a long last word to be hyphenated.
This patch changtes the heursitic to allow hyphenation if the
line is a single-word line.
CSS Text 4 has a property to control this behavior, but no
browsers have implemented it yet.
Bug: 1022415
Change-Id: Ibd8d8b132e540a142f18efc09a37fed2b207bfdf
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2599567
Commit-Queue: Kent Tamura <tkent@chromium.org>
Auto-Submit: Koji Ishii <kojii@chromium.org>
Reviewed-by: Kent Tamura <tkent@chromium.org>
Cr-Commit-Position: refs/heads/master@{#842345}
--
wpt-commits: f65538192754284c3e0d93ef39e2c403650d3b40
wpt-pr: 27021
Comment 7•5 years ago
|
||
bugherder |
Description
•