Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(306)

Unified Diff: LayoutTests/fast/borders/border-radius-with-empty-inner-border.html

Issue 25977004: Should not use clipOutRoundedRect when a given rounded rect is empty. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Patch for landing Created 7 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: LayoutTests/fast/borders/border-radius-with-empty-inner-border.html
diff --git a/LayoutTests/fast/borders/border-radius-with-empty-inner-border.html b/LayoutTests/fast/borders/border-radius-with-empty-inner-border.html
new file mode 100644
index 0000000000000000000000000000000000000000..09a04aa46c70ca357a08f4f7fd0c3a02293ac083
--- /dev/null
+++ b/LayoutTests/fast/borders/border-radius-with-empty-inner-border.html
@@ -0,0 +1,27 @@
+<!doctype html>
+<head>
+<script>
+if (window.testRunner)
+ testRunner.dumpAsTextWithPixelResults();
+</script>
+<style>
+.a {
+ height: 100px;
+ background-color: lightgrey;
+}
+.b {
+ display: block;
+ border-top: 10px solid green;
+ border-radius: 10px;
+}
+
+span {
+ font-size: 0px;
+}
+</style>
+</head>
+<body>
+<div class="a"><div class="b"></div></div>
+<span>Test for crbug.com/303922: border-radius makes border not appear on empty block elements. If passes, we can see a rounded top border.</span>
+</body>
+
« no previous file with comments | « LayoutTests/TestExpectations ('k') | LayoutTests/fast/borders/border-radius-with-empty-inner-border-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698