Status: PASS | Duration: 7ms | Subtests: 1/1 | Open test on wpt.live | Open ref on wpt.live | wpt.fyi
/css/css-flexbox/flex-vertical-align-effect.html
<!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>
/css/css-flexbox/reference/flex-vertical-align-effect.html
<!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" /> <style type="text/css"> input{ margin:0; padding:0; vertical-align:top; float: left; } </style> </head> <body> <div id="container"> <input type="text" value="input1" /> <input type="radio" /> </div> </body> </html>