Webkit-unassigned Archive

List Statistics

  • Total Threads: 40327
  • Total Posts: 213396

Phrases Used to Find This Thread

  #1  
11-11-2011 09:30 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103

Summary: box-shadow creates incorrect shadow when border-radius
is too large
Product: WebKit
Version: 420+
Platform: Other
OS/Version: All
Status: UNCONFIRMED
Severity: Normal
Priority: P2
Component: CSS
AssignedTo: webkit-
ReportedBy:


Created an attachment (id=114649)
--> (https://bugs.webkit.org/attachment.cgi?id=114649&action=review)
Demonstrate border-radius interaction with box-shadow

When using box-shadow and border-radius on an element, the shadow is incorrectly drawn if border-radius's value is larger than the height or width of the element. This occurs in different ways depending on box-shadow's spread's sign. For negative values of box-shadow spread, the resulting shadow is rectangular. Additionally there is a section of the shadow that isn't painted (the element would occupy if it weren't for the rounded border).

If an element uses a large value for border-radius, the value is capped to a the maximum. If it is used along with box-shadow with a negative spread, then instead of the radius being capped it is ignored and a square shadow is created. The border radius' biggest value before it creates a square shadow seems to be the width or height of the element (whichever is smaller) plus the spread.

The radius that triggers the missing shadow regions seems to be equal to the smaller of width or height and doesn't seem affected by the amount of spread.

So for example a width of 500px and height of 200px, a spread of -10px, "border-radius: 0 0 191px 0" will trigger a square shadow, while "0 0 190px 0" will not. "0 0 200px 0" will trigger both the square shadow and the missing region, "0 0 199px 0" will only trigger the square shadow.

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #2  
11-11-2011 09:31 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103





--- Comment #1 from Daniel Kurejwowski <> 2011-11-11 01:31:22 PST ---
Created an attachment (id=114650)
--> (https://bugs.webkit.org/attachment.cgi?id=114650&action=review)
Reduced demonstration of border-radius interaction with box-shadow

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #3  
11-11-2011 09:38 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103





--- Comment #2 from Daniel Kurejwowski <> 2011-11-11 01:38:11 PST ---
Reproduced with
-Safari (5.1.1 (7534.51.22)) for Windows XP
-Safari for iPad 2
-Rockmelt 0.9.68.1420 (Official Build 35c4f95) WebKit 535.1 (branches/chromium/835@96063) {note, only the square shadow is reproduceable, there is no apparent missing regions}
-Google Chrome 15.0.874.106 (Official Build 107270) WebKit 535.2 (@98043) {note, only the square shadow is reproducible, no missing regions.}

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #4  
11-11-2011 10:10 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103





--- Comment #3 from Daniel Kurejwowski <> 2011-11-11 02:10:12 PST ---
Created an attachment (id=114653)
--> (https://bugs.webkit.org/attachment.cgi?id=114653&action=review)
Further reduced example

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #5  
01-03-2012 03:38 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103


David Barr <> changed:

What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
CC| |
Ever Confirmed|0 |1




--- Comment #4 from David Barr <> 2012-02-29 19:38:33 PST ---
Confirmed in WebKit Nightly, Version 5.1.2 (6534.52.7, r109280).

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #6  
21-05-2012 07:05 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103


Takashi Sakamoto <> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #142947| |review?
Flag| |




--- Comment #5 from Takashi Sakamoto <> 2012-05-20 23:04:04 PST ---
Created an attachment (id=142947)
--> (https://bugs.webkit.org/attachment.cgi?id=142947&action=review)
Patch

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #7  
23-05-2012 03:12 AM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103





--- Comment #6 from Hajime Morrita <> 2012-05-22 19:11:04 PST ---
(From update of attachment 142947)
View in context: https://bugs.webkit.org/attachment.cgi?id=142947&action=review

> Source/WebCore/platform/graphics/Path.cpp:-134
> -

Is this really OK? What will happen on other platforms?

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #8  
07-06-2012 12:06 PM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103


Takashi Sakamoto <> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #142947|0 |1
is obsolete| |
Attachment #142947|review? |
Flag| |




--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #9  
07-06-2012 12:06 PM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103


Takashi Sakamoto <> changed:

What |Removed |Added
----------------------------------------------------------------------------
Attachment #146249| |review?
Flag| |




--- Comment #7 from Takashi Sakamoto <> 2012-06-07 04:06:43 PST ---
Created an attachment (id=146249)
--> (https://bugs.webkit.org/attachment.cgi?id=146249&action=review)
Patch

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)

  #10  
07-06-2012 12:09 PM
Webkit-unassigned member admin is online now
User
 

https://bugs.webkit.org/show_bug.cgi?id=72103


Takashi Sakamoto <> changed:

What |Removed |Added
----------------------------------------------------------------------------
CC| |




--- Comment #8 from Takashi Sakamoto <> 2012-06-07 04:09:01 PST ---
(In reply to comment #6)
> (From update of attachment 142947 [details])
> View in context: https://bugs.webkit.org/attachment.cgi?id=142947&action=review
>
> > Source/WebCore/platform/graphics/Path.cpp:-134
> > -
>
> Is this really OK? What will happen on other platforms?

I see. I restricted the code, i.e. removing the condition, to chromium or mac.

Best regards,
Takashi Sakamoto

--
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
_______________________________________________
webkit-unassigned mailing list
webkit-
http://lists.webkit.org/mailman/listinfo.cgi/webkit-unassigned
)





NewsArc Lists  |  Culture Pages   |  Computing Archive  |  Media-Pages
Link to this page on your blog or website by copying the HTML code below and pasting it into your site: