Files
firefox/testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline-vert-rl.html
T
Sammy Gill d38434760b Bug 1794182 [wpt PR 36337] - WebKit export of https://bugs.webkit.org/show_bug.cgi?id=97239, a=testonly
Automatic update from web-platform-tests
WebKit export of https://bugs.webkit.org/show_bug.cgi?id=97239 (#36337)

These tests implicitly test the baseline alignment of inline-block and inline-table elements.
In the initial writing mode (horizontal-tb), the baseline of the inline-block element is
the baseline of the text and the table is the bottom of the content edge.

In the vert-rl case, the baselines will need to be synthesized.
--

wpt-commits: 7da2733a353ab217838b02e9338d053bc6287582
wpt-pr: 36337
2022-10-21 10:37:37 +00:00

31 lines
777 B
HTML

<!DOCTYPE html>
<meta charset="utf-8">
<html>
<title>CSS Box Alignment Test: inline-block and inline-table baseline synthesis</title>
<link rel="author" title="Sammy Gill" href="[email protected]">
<link rel="help" href="https://www.w3.org/TR/css-align-3/#baseline-export">
<link rel="match" href="inline-table-inline-block-baseline-vert-rl-ref.html">
<style>
.container {
border: solid 1px black;
writing-mode: vertical-rl;
}
.block {
display: inline-block;
background: aqua;
}
.table {
display: inline-table;
font-size: 40px;
background: tan;
margin-block-start: 50px;
}
</style>
<body>
<div class="container">
<div class="block">aaa</div>
<table class="table" cellspacing="0" cellpadding="0"><td>bbb</table>
</div>
</body>
</html>