mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-12 14:20:14 +02:00
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
12 lines
186 B
HTML
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>
|