See discussion in mozilla.dev.apps.firefox earlier today.
Created attachment 622999 [details] [diff] [review] Patch for bug
Comment on attachment 622999 [details] [diff] [review] Patch for bug r=me
(In reply to Boris Zbarsky (:bz) from comment #0) > See discussion in mozilla.dev.apps.firefox earlier today. Here, I'm guessing: http://groups.google.com/group/mozilla.dev.apps.firefox/browse_thread/thread/827a52f71d092748 Glad to see some action on this.
Use to get a patterned background like in image editors (PSD, Paint.net, etc): background:-moz-Dialog url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEWgoKClpaUrSK7yAAAAAnRSTlNkFG3Yt+YAAAAPSURBVHheY2D4jxXhEgYAfr8P8SM7T18AAAAASUVORK5CYII=);
(In reply to Alfred Kayser from comment #4) > Use to get a patterned background like in image editors Please file a separate bug on this. (I think we might actually want to try this, depending on how this bug will be received.)
In case this is useful to Boris, here are my reasonings on this one from a previous bug - https://bugzilla.mozilla.org/show_bug.cgi?id=713555#c24 Good luck. :)
Just hope this bug won't be hijacked and closed like bug #713555, hhich have the only good concept with dealing with transparent images, compared to using black or black background.
Autoland Patchset: Patches: 622999 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=93291ada1202 Try run started, revision 93291ada1202. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=93291ada1202
This test is failing on Windows in the try push: > REFTEST TEST-UNEXPECTED-FAIL | file:///c:/talos-slave/test/build/reftest/tests/image/test/reftest/icon/win/bug415761.sjs | image comparison (==)
Created attachment 623851 [details] [diff] [review] Patch for bug v2 This patch changes bug415761.sjs to explicitly set the icon dimensions. On the other hand, I think that this test is actually quite broken, and writing this patch revealed the broken-ness. The test previously passed because we were testing a white background against a white background. It then passed because we were testing a dark grey background against a dark grey background. It only started failing now because we started explicitly setting a background-color for the image.
Autoland Patchset: Patches: 623851 Branch: mozilla-central => try Destination: http://hg.mozilla.org/try/pushloghtml?changeset=6699388d2f96 Try run started, revision 6699388d2f96. To cancel or monitor the job, see: https://tbpl.mozilla.org/?tree=Try&rev=6699388d2f96
Comment on attachment 623851 [details] [diff] [review] Patch for bug v2 r=me
A mockup was posted by Stephen to deal with specific images requiring white background etc https://people.mozilla.com/~shorlander/files/stand-alone-image/stand-alone-image-01.html Is it in plans ?
5 years ago