Open
Bug 793222
Opened 12 years ago
Updated 2 years ago
Odd & Even Width -linear-gradient Firefox Bug
Categories
(Core :: Layout, defect)
Tracking
()
UNCONFIRMED
People
(Reporter: p.h.howells, Unassigned)
Details
Attachments
(3 files)
User Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.6; rv:17.0) Gecko/17.0 Firefox/17.0 Build ID: 20120921042009 Steps to reproduce: Gave Div elements striped background images using -linear-gradient CSS. I have tested this in Firefox 15 and Aurora 17.0a2 on OS X 10.6.8. Actual results: The stripes had correct expected widths when rendered in a div with an even numbered pixel width. But the stripes had incorrect widths when rendered in a div with an odd numbered pixel width. Expected results: The stripes should have been rendered at their correct expected widths regardless of the width of the Div element they were rendered in.
Reporter | ||
Comment 1•12 years ago
|
||
Updated•12 years ago
|
Attachment #663454 -
Attachment mime type: text/plain → text/html
Updated•12 years ago
|
Component: General → Layout
This is what I'm seeing on Linux, which seems like the correct rendering, given that I'd expect to see a 1px horizontal shift because the background-position is horizontally centered (and therefore centering within 501px yields 250.5px which rounds up to 251px. Is this Mac-only?
Attachment #663550 -
Attachment is patch: false
Attachment #663550 -
Attachment mime type: text/plain → image/png
Reporter | ||
Comment 3•12 years ago
|
||
I agree that the Linux screenshot shows correct expected rendering. Perhaps this is indeed a Firefox on Mac OSX issue? The attached .png file shows the correct behaviour also being exhibited by Opera, Safari and Chrome (all on OSX, and when the css is tweaked to use their vendor prefixes) in comparison with Firefox.
Updated•2 years ago
|
Severity: normal → S3
You need to log in
before you can comment on or make changes to this bug.
Description
•