gecko-dev/testing/web-platform/tests/css/css-writing-modes/reference/mongolian-span-001-ref.html
Koji Ishii 019d193b09 Bug 1587134 [wpt PR 19574] - [LayoutNG] Fix font-orientation segmentation, a=testonly
Automatic update from web-platform-tests
[LayoutNG] Fix font-orientation segmentation

When there are no script segments (i.e., all the text is in
single script) and in vertical flow, we create a single
segment and split it at the font-orientation boundaries.

This patch fixes to create the single segment from the first
text item, not from the first item. If it is created from the
first item and the first item is not a text item, we may give
incorrect script and/or font-orientation to HarfBuzz.

Bug: 1006154
Change-Id: I5ea87920f8cbc76cdc13fe25611f7a7a34284813
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1847697
Reviewed-by: Emil A Eklund <eae@chromium.org>
Reviewed-by: Ian Kilpatrick <ikilpatrick@chromium.org>
Commit-Queue: Emil A Eklund <eae@chromium.org>
Commit-Queue: Koji Ishii <kojii@chromium.org>
Cr-Commit-Position: refs/heads/master@{#703803}

--

wpt-commits: 4cd56bbc0f6a79a08342e35cbbcfb7e9b700214e
wpt-pr: 19574
2019-10-17 19:25:30 +00:00

12 lines
186 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<style>
html {
writing-mode: vertical-lr;
font-size: 50px;
}
</style>
<body>
<div>ᠶᠠᠫᠣᠨ</div>
<div>ᠶᠠᠫᠣᠨ</div>
</body>