Closed Bug 822149 Opened 13 years ago Closed 12 years ago

Image document background is a mostly-transparent PNG against a background color

Categories

(Toolkit :: Themes, defect)

defect
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla25

People

(Reporter: jruderman, Assigned: jaws)

References

Details

(Keywords: perf)

Attachments

(2 files, 1 obsolete file)

url("chrome://global/skin/media/imagedoc-darknoise.png") repeat scroll 0% 0% rgb(34, 34, 34) http://mxr.mozilla.org/mozilla-central/source/toolkit/themes/pinstripe/global/media/imagedoc-darknoise.png It might be faster to tile a non-transparent PNG instead. darknoise.png is never used with any other background color, as far as I can tell.
Yeah, we should just pre-composite the image with that background color. (Same visual appearance, just using an RGB PNG instead of RGBA + bg-color).
Assignee: nobody → jaws
Status: NEW → ASSIGNED
Stephen, I can pre-composite the image myself, or would you prefer to do it? I remember you mentioned wanting to look in to fixing the repeating pattern of the texture.
Flags: needinfo?(shorlander)
Attached image New image from Stephen
Stephen provided me the image over IRC.
Flags: needinfo?(shorlander)
Attached patch Patch (obsolete) — Splinter Review
The background-color isn't necessary anymore since the image is now opaque.
Attachment #772092 - Flags: review?(dolske)
Attached patch Patch v.1Splinter Review
Also updated the reftests and updated TopLevelVideoDocument.css to use the same image.
Attachment #772092 - Attachment is obsolete: true
Attachment #772092 - Flags: review?(dolske)
Attachment #772097 - Flags: review?(dolske)
Attachment #772097 - Flags: review?(dolske) → review+
Status: ASSIGNED → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla25
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: