зеркало из https://github.com/mozilla/gecko-dev.git
18 строки
643 B
HTML
18 строки
643 B
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title>CSS 2.1 Test Suite: Test for 'height: auto' on inline-table</title>
|
|
<link rel="author" title="L. David Baron" href="https://dbaron.org/" />
|
|
<link rel="author" title="Mozilla Corporation" href="http://mozilla.com/" />
|
|
<link rel="help" href="http://www.w3.org/TR/CSS21/tables.html#table-display" />
|
|
<meta name="assert" content="it is a rectangular block that participates in an inline formatting context)." />
|
|
<meta name="flags" content="" />
|
|
<style type="text/css">
|
|
div { display: inline-table; width: 10em; background: green; color: white; }
|
|
</style>
|
|
</head>
|
|
<body>
|
|
<div>Test<br>Test</div>
|
|
</body>
|
|
</html>
|