Files
firefox/testing/web-platform/tests/css/css-ruby/interlinear-block-margin-box.html
T
Kent Tamura 754fc9b9cd Bug 1901944 [wpt PR 46712] - RubyLB: Annotation positioning should refer to padding/border/margin, a=testonly
Automatic update from web-platform-tests
RubyLB: Annotation positioning should refer to padding/border/margin

If a ruby-text box has non-zero block-axis padding/border/margin,
they should affect annotation positioning. The new behavior matches to
Firefox and Safari.

Bug: 345367386
Change-Id: Id4eebd9c79bcad03ec3374ecf470a3fb0146b1c7
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5624453
Reviewed-by: Koji Ishii <[email protected]>
Auto-Submit: Kent Tamura <[email protected]>
Commit-Queue: Koji Ishii <[email protected]>
Cr-Commit-Position: refs/heads/main@{#1313855}

--

wpt-commits: 36d326c3f220b9bf08f9c26e87eef8c6c308b74f
wpt-pr: 46712
2024-06-14 07:17:23 +00:00

19 lines
490 B
HTML

<!DOCTYPE html>
<link rel="help" href="https://drafts.csswg.org/css-ruby/#interlinear-block">
<link rel="mismatch" href="interlinear-block-margin-box-ref.html">
<title>padding/border/margin should affect block-axis positioning</title>
<body>
<div>
<ruby>base<rt style="padding-bottom: 5px;">annotation</ruby>
</div>
<div>
<ruby>base<rt style="border-bottom: 7px solid transparent">annotation</ruby>
</div>
<div>
<ruby>base<rt style="margin-bottom: 11px">annotation</ruby>
</div>
</body>