summaryrefslogtreecommitdiffstats
path: root/testing/web-platform/tests/css/css-flexbox/flex-vertical-align-effect.html
blob: 5ce535b513674d978008806988f8fbdb9eef816e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<!DOCTYPE html>
<html>
<head>
	<title>CSS Test: 'display' property set to 'flex'</title>
	<link rel="author" title="Hua Zhao" href="mailto:zhaohua.design@163.com" />
	<link rel="help" href="http://www.w3.org/TR/css-flexbox-1/#flex-property">
	<link rel="match" href="reference/flex-vertical-align-effect.html">
	<meta name="assert" content="vertical-align property has no effect" />

	<style type="text/css">
		#container {
			display:flex;
			align-items:flex-start;
		}
		input{
			margin:0;padding:0;vertical-align:middle;
		}
	</style>
</head>
<body>

	<div id="container">
		<input type="text" value="input1" />
		<input type="radio" />

	</div>
</body>
</html>