Closed Bug 1847896 Opened 1 year ago Closed 1 year ago

[wpt-sync] Sync PR 41394 - [phrase-line-break] Add tests for `<wbr>` and `<nobr>`

Categories

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

task

Tracking

()

RESOLVED FIXED
118 Branch
Tracking Status
firefox118 --- fixed

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Koji Ishii <kojii@chromium.org> wrote:

[phrase-line-break] Add tests for <wbr> and <nobr>

Because the content analysis may fail, when the content
analysis didn't produce what authors expect, authors should be
able to add or remove break opportunities.

This patch adds two tests:

  • \<wbr> can force to break a phrase into two.
  • \<nobr> can force two phrases to one.

Note, \<nobr> isn't standardized, so it's defined in the test.

Bug: 1443291
Change-Id: I045e0319f473bb5013218807551d23ad0f740314

Reviewed-on: https://chromium-review.googlesource.com/4764190
WPT-Export-Revision: df6d55cece393e9be713cf8bce08a3c33087d52b

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 2 tests

Status Summary

Firefox

FAIL: 2

Chrome

FAIL: 2

Safari

FAIL: 2

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/70855c68647f [wpt PR 41394] - [phrase-line-break] Add tests for `<wbr>` and `<nobr>`, a=testonly https://hg.mozilla.org/integration/autoland/rev/2c53003408b5 [wpt PR 41394] - Update wpt metadata, a=testonly
Status: NEW → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → 118 Branch
You need to log in before you can comment on or make changes to this bug.