Open Bug 2091303 Opened 9 days ago Updated 8 days ago

New wpt failures in /css/css-text/line-break/ [line-break-quotation-double-cjk-001.html, line-break-quotation-double-cjk-002.html]

Categories

(Core :: Layout: Text and Fonts, defect)

defect

Tracking

()

People

(Reporter: wpt-sync, Unassigned)

References

Details

(Whiteboard: [wpt])

Syncing wpt PR 64459 found new untriaged test failures in CI

Tests Affected

Firefox-only failures

CI Results

Gecko CI (Treeherder)
GitHub PR Head

Notes

These updates will be on mozilla-central once bug 2089430 lands.

Note: this bug is for tracking fixing the issues and is not
owned by the wpt sync bot.

This bug is linked to the relevant tests by an annotation in
https://github.com/web-platform-tests/wpt-metadata. These annotations
can be edited using the wpt interop dashboard
https://jgraham.github.io/wptdash/

If this bug is split into multiple bugs, please also update the
annotations, otherwise we are unable to track which wpt issues are
already triaged. Resolving as duplicate or closing this issue should
be cause the bot to automatically update or remove the annotation.

Looks like the test is expecting there to be a break opportunity after the quote mark in 中”中, but we're behaving as if there is not.

(From the test's title, "Break opportunity allowed after U+201D Right Double Quotation Mark when surrounded by East Asian characters")

It references these unicode line-breaking algorithm sections, regarding quote characters:
https://www.unicode.org/reports/tr14/#LB19
https://www.unicode.org/reports/tr14/#LB19a
...the latter of which says: "Unless surrounded by East Asian characters, do not break either side of any unresolved quotation marks."

Notably, that wording doesn't say that you have to create a break opportunity when quotation marks are surrounded by East Asian characters; it just allows you to do so... Not sure how that's meant to be interpreted.

Severity: -- → S4
You need to log in before you can comment on or make changes to this bug.