blob: 394b853dff6bf8a95dad400452d76d3682b27708 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
<!DOCTYPE html>
<html>
<title><html display:table></title>
<link rel="author" href="mailto:atotic@chromium.org">
<link rel="help" href="https://www.w3.org/TR/css-overflow-3/#scrollable">
<meta name="assert" content="<html display:table> does not fill the viewport">
<link rel="match" href="html-display-table-ref.html">
<style>
html {
display: table;
border: 10px solid green;
border-spacing: 0;
padding: 0;
margin: auto;
}
body {
padding: 0;
margin: 0;
}
</style>
<div style="width:200px;height:300px;background:yellow;display:inline-block;"></div><div style="width:80px;height:300px;background:yellow;display:inline-block;"></div>
|