Open Bug 527000 Opened 15 years ago Updated 2 years ago

Aliasing is bugged on rounded corners with thick borders

Categories

(Core :: Web Painting, defect)

defect

Tracking

()

People

(Reporter: j_lozinski, Unassigned)

Details

(Whiteboard: [testday-20120713])

Attachments

(3 files)

User-Agent:       Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2b1) Gecko/20091029 Firefox/3.6b1
Build Identifier: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.9.2b1) Gecko/20091029 Firefox/3.6b1

when rounded buttons (css) use thicker borders i.e. 10px, there are differences between the background and border render which make the bg colors visible.

there is a rogue black bit outside the rounded edge.  This appears to be because the border is being drawn with a different rounding than the div.

Reproducible: Always

Steps to Reproduce:
1.load following  html

<html>
   <head>
   <style type="text/css">

      button {
         background-color: black;
         border: 10px solid white;
         color: white;
         font-family: sans-serif;
         font-size: 20pt;
         font-weight: bold;
         padding: 2em;
         -moz-border-radius: 30px;
      }

   </style>
   </head>
   <body>
      <button>One</button>
   </body>
</html>

Actual Results:  
there is a rogue black bit outside the rounded edge.  This appears to be because the border is being drawn with a different rounding than the button.


Expected Results:  
the border should totally cover the background
Mozilla/5.0 (Windows; U; Windows NT 6.0; en-US; rv:1.9.3a1pre) Gecko/20091106 Minefield/3.7a1pre

I can indeed reproduce this, but it is not something new. I don't see it with Firefox 2, though. And latest Minefield looks worse than 3.0.
Component: General → Layout: View Rendering
Keywords: qawanted
OS: Linux → All
Product: Firefox → Core
QA Contact: general → layout.view-rendering
Hardware: x86 → All
Version: unspecified → Trunk
I can reproduce this with attachment 641794 [details] with
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/16.0 Firefox/16.0 SeaMonkey/2.13a1   20120713003005
Mozilla/5.0 (X11; Linux x86_64; rv:16.0) Gecko/16.0 Firefox/16.0   2012-07-12
Whiteboard: [testday-20120713]
I can reproduce this with attachment 641794 [details] as well.

Mozilla/5.0 (X11; Ubuntu; Linux x86_64; rv:13.0) Gecko/20100101 Firefox/13.0.1
Status: UNCONFIRMED → NEW
Ever confirmed: true
Keywords: qawanted
Component: Layout: View Rendering → Layout: Web Painting
Severity: normal → S3
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Creator:
Created:
Updated:
Size: