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

Side by Side Diff: LayoutTests/fast/borders/empty-border-radius.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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
(Empty)
1 <!doctype html>
2 <html>
3 <head>
4 <script>
5 if (window.testRunner)
6 testRunner.dumpAsTextWithPixelResults();
7 </script>
8 <style>
9 .line {
10 border-style: solid;
11 border-width: 1px 0;
12 }
13
14 #line2 {
15 border-color: green;
16 border-radius: 1px;
17 }
18
19 span {
20 font-size: 0px;
21 }
22 </style>
23 </head>
24 <body>
25 <div class="line" id="line2"></div>
26 <span>Test for crbug.com/303383: elements with border radius and 0px height ar e invisible. If this test passes, we can see a line with green color.</span>
27 </body>
28 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698