Closed Bug 593004 Opened 14 years ago Closed 14 years ago

Quick search selected filters are ellipsoids not squared with rounded corners anymore

Categories

(Thunderbird :: Search, defect)

x86
Windows 7
defect
Not set
minor

Tracking

(Not tracked)

RESOLVED FIXED
Thunderbird 3.3a1

People

(Reporter: Usul, Assigned: andreasn)

Details

(Keywords: regression)

Attachments

(2 files, 1 obsolete file)

I'm pretty sure this regressed either today or yesterday. I'm filling this in Thunderbird but it's probably a Core issue, feel free to move to the appropriate component (which I'm unable to figure out).

See the screenshot for how the selection appears on filters in the quick search bar.


getting that with Mozilla/5.0 (Macintosh; Intel Mac OS X 10.5; rv:2.0b6pre) Gecko/20100901 Thunderbird/3.2a1pre
I just looked at our pinstripe theme and we have:
  -moz-border-radius: 100%;

So the ellipse seems right for border-radius suggesting there was a graphic involved or something.
OS: Mac OS X → Windows 7
From https://developer.mozilla.org/en/CSS/-moz-border-radius:
"Note:  In Gecko 2.0 (Firefox 4.0) the handling of <percentage> values changed to match the latest specification."
"Starting Gecko 2.0 (Firefox 4.0): Percentages for the horizontal radius are relative to the width of the border box, whereas percentages for the vertical radius are relative to the height of the border box."

I guess this is what happened here, and it seems correct that it now draws a round thing according to that. Will come up with a fix!
Assignee: nobody → nisses.mail
Attached patch pinstripe patch (obsolete) — Splinter Review
Since the height of the element is 18px, making the rounding to 9px will achieve the right effect.
Attachment #472607 - Flags: ui-review?(clarkbw)
Attachment #472607 - Flags: review?(bugmail)
Does this bug affect Windows 7 too? I can't see it on my Vista system.
Comment on attachment 472607 [details] [diff] [review]
pinstripe patch

rs=asuth (by inspection)
Attachment #472607 - Flags: review?(bugmail) → review+
I was just pointed to bug 471643 and attachment 470834 [details] [diff] [review] in it which seems to be tackling this issue in FF
Bryan - ping for the UI review ? can we land this ?
Attachment #472607 - Flags: ui-review?(clarkbw) → ui-review+
Severity: normal → minor
I was reminded on IRC that we shouldn't use -moz-border-radius, but border-radius now instead. Will come up with a new patch to address this.
Attached patch updated patchSplinter Review
Updated patch using border-radius instead. Assuming this will get r+ and ui-r+ as it's basically the same as before.
Attachment #472607 - Attachment is obsolete: true
Attachment #483977 - Flags: ui-review+
Attachment #483977 - Flags: review+
Keywords: checkin-needed
Checked in: http://hg.mozilla.org/comm-central/rev/d02bac079d20
Status: NEW → RESOLVED
Closed: 14 years ago
Keywords: checkin-needed
Resolution: --- → FIXED
Target Milestone: --- → Thunderbird 3.3a1
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: