Automatic update from web-platform-tests [ruby-overhang] Fix ruby-overhang-spaces-011-ref.html WPT Previously, the reference file had crash in debug build, and there was a failure in release build. Because The width of the tab character didn't consider the previous inline text 'a'. To resolve this, this CL fixes the reference file by moving 'a' into the ruby base. Bug: 512045630, 499042741, 366873207 Change-Id: I0b93fe44d4e7568b81120fb6e12f786b8c1e6a69 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7839338 Commit-Queue: Koji Ishii <kojii@chromium.org> Reviewed-by: Kent Tamura <tkent@chromium.org> Reviewed-by: Koji Ishii <kojii@chromium.org> Cr-Commit-Position: refs/heads/main@{#1631988} -- wpt-commits: bf64191036a79f5cedba68db6aca737bb0dcec49 wpt-pr: 59938
30 lines
1.1 KiB
HTML
30 lines
1.1 KiB
HTML
<!DOCTYPE html>
|
||
<meta charset="UTF-8">
|
||
<title>test reference</title>
|
||
<style>
|
||
ruby {
|
||
ruby-overhang: spaces;
|
||
ruby-align: center;
|
||
}
|
||
div {
|
||
font-size: 20px;
|
||
white-space: pre;
|
||
border-left: 5px solid;
|
||
border-right: 5px solid;
|
||
width: max-content;
|
||
tab-size: 1ic;
|
||
}
|
||
.test { border-color: orange; }
|
||
.measure { border-color: blue; }
|
||
</style>
|
||
<body lang="ja">
|
||
<p>Test passes if orange and blue lines are aligned.
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=test><ruby>a	 あ <rt>ああああああああああ</ruby>a</div>
|
||
<div class=measure>a	 あ a</div>
|
||
</body>
|