Closed
Bug 537032
Opened 16 years ago
Closed 16 years ago
[OS X 64-bit] css gradients are not painted
Categories
(Core :: Web Painting, defect)
Tracking
()
VERIFIED
FIXED
People
(Reporter: phiw2, Assigned: BenWa)
References
Details
Attachments
(3 files)
When Minefield is build in 64-bit mode, CSS gradients are not painted. The background is transparent instead.
This is also visible in chrome (e.g. the buttons at the top of the add-ons window)
| Reporter | ||
Comment 1•16 years ago
|
||
There should be a yellow-to-blue diagonal gradient in the box.
| Reporter | ||
Updated•16 years ago
|
Hardware: x86 → x86_64
Jeff, can you take this?
Comment 3•16 years ago
|
||
Yes
Comment 4•16 years ago
|
||
This is caused by using floats instead of CGFloats. CGFloat is double on 64bit. Ben is going to come up with a patch.
| Assignee | ||
Comment 5•16 years ago
|
||
Attachment #421650 -
Flags: review?(jmuizelaar)
Comment 6•16 years ago
|
||
Comment on attachment 421650 [details] [diff] [review]
Replace float pointer types with CGFloat. CoreGraphics uses CGFloat which are float for 32-bits and double for 64-bits.
Looks good.
Attachment #421650 -
Flags: review?(jmuizelaar) → review+
Updated•16 years ago
|
Attachment #421650 -
Flags: review+
Comment 7•16 years ago
|
||
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
| Reporter | ||
Comment 8•16 years ago
|
||
Works fine with a build @ http://hg.mozilla.org/mozilla-central/rev/32b8675c4a23.
Thanks
Status: RESOLVED → VERIFIED
Updated•7 years ago
|
Component: Layout: View Rendering → Layout: Web Painting
You need to log in
before you can comment on or make changes to this bug.
Description
•