Chromium Code Reviews| Index: LayoutTests/fast/borders/empty-border-radius.html |
| diff --git a/LayoutTests/fast/borders/empty-border-radius.html b/LayoutTests/fast/borders/empty-border-radius.html |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..f187f25aa3c82c49a704399713cce86f87134570 |
| --- /dev/null |
| +++ b/LayoutTests/fast/borders/empty-border-radius.html |
| @@ -0,0 +1,28 @@ |
| +<!doctype html> |
| +<html> |
| +<head> |
| +<script> |
| +if (window.testRunner) |
| + testRunner.dumpAsTextWithPixelResults(); |
| +</script> |
| +<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> |