diff options
Diffstat (limited to 'testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline.html')
-rw-r--r-- | testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline.html | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline.html b/testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline.html new file mode 100644 index 0000000000..be9acc58cd --- /dev/null +++ b/testing/web-platform/tests/css/css-align/baseline-rules/inline-table-inline-block-baseline.html @@ -0,0 +1,29 @@ +<!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="sammy.gill@apple.com"> +<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> |