Borders not rendered correctly if border-widths or border-radius are large enough

NEW
Unassigned

Status

()

Core
Layout
5 years ago
2 years ago

People

(Reporter: vflash, Unassigned)

Tracking

14 Branch
x86_64
All
Points:
---

Firefox Tracking Flags

(Not tracked)

Details

Attachments

(4 attachments)

(Reporter)

Description

5 years ago
Created attachment 648974 [details]
o_transition.html

User Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:14.0) Gecko/20100101 Firefox/14.0.1
Build ID: 20120713134347

Steps to reproduce:

очень большой радиус


Actual results:

появились артефакты


Expected results:

должно быть как в webkit
(Reporter)

Comment 1

5 years ago
http://vflash.ru/bug/o_transition.html
(Reporter)

Comment 2

5 years ago
Created attachment 648975 [details]
screen
Component: Untriaged → Layout
Product: Firefox → Core

Updated

5 years ago
Attachment #648974 - Attachment mime type: text/plain → text/html

Comment 3

5 years ago
Could you explain the issue in English, please.
(Reporter)

Comment 4

5 years ago
не знаю английского 
запустите пример и станет понятно
-------------------
I do not know English
Run the example and it becomes clear
All the original comment says is "set a very large radius and you get rendering artifacts".  

Presumably in this case the large dark gray rectangles.

Note that the transitions are a red herring; they're not needed to reproduce the bug.
Created attachment 649030 [details]
Much simpler testcase
Is this a bug in nsCSSRendering or underlying gfx bug?  I see this on Mac, so I suspect the former...
Status: UNCONFIRMED → NEW
Ever confirmed: true
Summary: border-radius → Large border-radius not rendered correctly when border widths are different on different sides
Confirmed on Linux too.
OS: Windows 7 → All

Updated

2 years ago
Summary: Large border-radius not rendered correctly when border widths are different on different sides → Large border-radius not rendered correctly when one of the borders has width > 50% of border-box

Comment 9

2 years ago
Created attachment 8684574 [details]
testcase 3 - bug 780366 border width greater than 50 percent.htm

Only IE handles this testcase. It reveals that borders aren't drawn correctly (note the colored areas)

Comment 10

2 years ago
I was wrong: there're cases when "border-width > 50% of border-box" isn't required.
I saved 4 testcases in my dropbox folder. Use the "index" page to open the testcases by direct links
> index:  https://dl.dropboxusercontent.com/s/h5zhs0gufq3ve9h/index.html?dl=0
> folder: https://www.dropbox.com/sh/hhf4wylz91tu86b/AAAfJ1stZNfh1s4a1UNH4y4ta?dl=0
Please correct me / undo changes if I did something wrong with this bug.
Summary: Large border-radius not rendered correctly when one of the borders has width > 50% of border-box → Borders not rendered correctly if border-widths or border-radius are large enough
You need to log in before you can comment on or make changes to this bug.