Last Comment Bug 880271 - Inconsistent color management
: Inconsistent color management
Product: Core
Classification: Components
Component: GFX: Color Management (show other bugs)
: 21 Branch
: x86_64 Windows 8
-- normal with 1 vote (vote)
: ---
Assigned To: Nobody; OK to take it and work on it
: Milan Sreckovic [:milan]
: 952752 (view as bug list)
Depends on:
  Show dependency treegraph
Reported: 2013-06-06 08:26 PDT by david.johnstone
Modified: 2015-01-08 06:12 PST (History)
4 users (show)
See Also:
Crash Signature:
QA Whiteboard:
Iteration: ---
Points: ---
Has Regression Range: ---
Has STR: ---


Description User image david.johnstone 2013-06-06 08:26:43 PDT
User Agent: Mozilla/5.0 (Windows NT 6.2; WOW64; rv:21.0) Gecko/20100101 Firefox/21.0 (Beta/Release)
Build ID: 20130511120803

Steps to reproduce:

I created a handful of elements and made them red (#ff0000) in various ways, using:

  * background-color: #f00
  * background: linear-gradient(#f00, hsla(0, 100%, 50%, 1))
  * background: radial-gradient(#f00, hsl(0, 100%, 50%))
  * background: url(no-profile.png) // image with no colour profile
  * background: url(embedded-profile.jpg) // image with with colour profile
* Canvas
  * c.fillStyle = '#f00'; c.fillRect(0, 0, 200, 200);
  * fill: rgb(255, 0, 0)
* Image
  * <img src="no-profile.png"> // image with no colour profile
  * <img src="embedded-profile.jpg"> // image with with colour profile

I have set gfx.color_management.mode to 1 (full colour management) and have a properly calibrated wide gamut monitor.

Here is a test page that demonstrates this:

Actual results:

The boxes with with colour set by linear-gradient, radial-gradient and a canvas displayed with a very vivid red (i.e., without colour management). The rest were showing the correct red.

Here's a screenshot, with an embedded profile (the differences may not be visible on your screen):

Here's another screenshot, as sRGB with no embedded profile (the colours aren't right, but on my screen, imagine the orange squares are red, and the red ones are a very vivid red):

Expected results:

All of the boxes should appear to be the same colour.
Comment 1 User image Choongmin Lee 2013-12-21 04:28:50 PST
Border colors are not managed too.

Test page:
Comment 2 User image Choongmin Lee 2013-12-21 04:29:33 PST
*** Bug 952752 has been marked as a duplicate of this bug. ***
Comment 3 User image Bogdan Stancescu 2014-01-15 04:37:27 PST
This is still actual in Firefox 26.

Note You need to log in before you can comment on or make changes to this bug.