<!doctype html> | |
<html> | |
<head> | |
<style> | |
.line { | |
border-style: solid; | |
border-width: 1px 0; | |
} | |
#line2 { | |
border-color: green; | |
border-radius: 1px; | |
} | |
span { | |
font-size: 0px; | |
} | |
</style> | |
</head> | |
<body> | |
<div class="line" id="line2"></div> | |
<span>Test for crbug.com/303383: elements with border radius and 0px height are invisible. If this test passes, we can see a line with green color.</span> | |
</body> | |
</html> |