Closed Bug 1837240 Opened 3 years ago Closed 3 years ago

[wpt-sync] Sync PR 40424 - Displaying space instead of line and paragraph separators

Categories

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

task

Tracking

()

RESOLVED INVALID

People

(Reporter: wpt-sync, Unassigned)

References

()

Details

(Whiteboard: [wptsync downstream])

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

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

Munira Tursunova <moonira@google.com> wrote:

Displaying space instead of line and paragraph separators

Chrome renders line separator (0x2028) and paragraph separator (0x2029)
as either a missing glyph or l-sep/p-sep symbol on various platforms.

On Android this happens due to the lack of the glyphs in Android system
fonts, so it is displayed as a missing glyph. Windows system fonts have
l-sep and p-sep symbols for the 0x2028 and 0x2029 codepoints
respectively. On Mac OS these glyphs are being synthesized, see [0].

According to unicode specification line separator and paragraph
separator should be displayed as space, compare [1].

[0] https://crrev.com/c/4180727
[1] https://www.unicode.org/faq/unsup_char.html#2.

Bug: 550275
Change-Id: Ifd472f591daddfa9e6543c37d0a8220c67108592
Reviewed-on: https://chromium-review.googlesource.com/4581187
WPT-Export-Revision: b559611e497fe4ede7fdc5d2bca939beb6134157

Component: web-platform-tests → Layout: Text and Fonts
Product: Testing → Core
Status: NEW → RESOLVED
Closed: 3 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.