mirror of
https://github.com/HeyPuter/firefox.git
synced 2026-11-21 11:40:34 -10:00
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
30 lines
729 B
HTML
30 lines
729 B
HTML
<!DOCTYPE html>
|
|
<meta charset="utf-8">
|
|
<html>
|
|
<title>CSS Box Alignment Test: inline-block and inline-table baselines</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-ref.html">
|
|
<style>
|
|
.container {
|
|
border: solid 1px black;
|
|
}
|
|
.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>
|