Summary: | Corners are jagged when border styles don't match and border radius is less than border width | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | WebKit | Reporter: | Alex Taylor <darwin> | ||||||
Component: | Layout and Rendering | Assignee: | Nobody <webkit-unassigned> | ||||||
Status: | RESOLVED FIXED | ||||||||
Severity: | Normal | CC: | mitz, simon.fraser | ||||||
Priority: | P2 | ||||||||
Version: | 528+ (Nightly build) | ||||||||
Hardware: | Mac | ||||||||
OS: | OS X 10.5 | ||||||||
Bug Depends on: | |||||||||
Bug Blocks: | 19655 | ||||||||
Attachments: |
|
Description
Alex Taylor
2008-06-18 04:40:23 PDT
Created attachment 21814 [details]
Test case that shows the vertical sides of the border extended too far
This test case shows the vertical borders protruding into the top and bottom border. They do this currently to cover artifacts caused by the way strokeArc works the radius of an arc is smaller than the arc's thickness.
Created attachment 21815 [details]
View of the artifacts from drawArc
This picture shows what happens at the corners when the vertical sides are not rendered (commented out in RenderObject). The drawArc function and in turn the strokeArc function draws the arc but ends up spilling inside the arc because the thickness was greater than the radius. The outside half of the corners is the correct rendering.
I don't think this happens any more. |