Closed Bug 809603 Opened 12 years ago Closed 12 years ago

Simplify border radius drawing

Categories

(Core :: Layout, defect)

x86
macOS
defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla19

People

(Reporter: jrmuizel, Assigned: jrmuizel)

References

Details

Attachments

(1 file, 1 obsolete file)

Currently we have a bunch of special cases. Some of these can be eliminated by not trying to stroke.
Attached patch Something like this (obsolete) — Splinter Review
This adds a RoundedRect class that we use to do the offsetting. This class can probably also be used elsewhere. With this patch we handle the gmail checkboxes in a single draw instead of in pieces like we currently do.
Attachment #679377 - Attachment is obsolete: true
Attachment #680797 - Flags: review?(roc)
https://hg.mozilla.org/mozilla-central/rev/0e05ac6ac23d
Assignee: nobody → jmuizelaar
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla19
Blocks: 811472
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: