[wpt-sync] Sync PR 45441 - Reland "css-text: Fix an issue on justification with a bidi isolate control"
Categories
(Core :: Layout: Text and Fonts, task, P4)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox126 | --- | fixed |
People
(Reporter: wpt-sync, Unassigned)
References
()
Details
(Whiteboard: [wptsync downstream])
Sync web-platform-tests PR 45441 into mozilla-central (this bug is closed when the sync is complete).
PR: https://github.com/web-platform-tests/wpt/pull/45441
Details from upstream follow.
Kent Tamura <tkent@chromium.org> wrote:
Reland "css-text: Fix an issue on justification with a bidi isolate control"
This is a reland of commit aea8539fd737b4468aab83c14c656662b1322517
A change from the original commit:
- Updated TextRun::NormalizedUTF16().
Because the coverage of TreatAsZeroWidthSpaceInComplexScript() was
expanded by the original commit, NormalizedUTF16() could replace a
non-BMP character with a BMP character. It caused an access to
uninitialized area in a StringBuffer. The function doesn't replace
non-BMP characters in this CL.Original change's description:
css-text: Fix an issue on justification with a bidi isolate control
Do not reset
is_after_expansionstate by a default ignorable code
point, which includes bidi controls.Bug: 331680200
Change-Id: I2c79ec467052861e9048b0b7575e8f29dc0570b0
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5401304
Commit-Queue: Koji Ishii \<kojii@chromium.org>
Auto-Submit: Kent Tamura \<tkent@chromium.org>
Reviewed-by: Koji Ishii \<kojii@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1280093}Bug: 331680200, 331834503
Change-Id: I5c76573203b99045fe7350b87f091ff13b2b5a67Reviewed-on: https://chromium-review.googlesource.com/5400825
WPT-Export-Revision: a7fc01e77a75ef7cac94621a3a16054259e2f76d
| Assignee | ||
Updated•2 years ago
|
| Assignee | ||
Comment 1•2 years ago
|
||
| Assignee | ||
Comment 2•2 years ago
|
||
CI Results
Ran 9 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 4•2 years ago
|
||
| bugherder | ||
Description
•