New issue
Advanced search Search tips

Issue 650968 link

Starred by 2 users

Issue metadata

Status: Fixed
Owner:
Closed: Apr 2017
Cc:
Components:
EstimatedDays: ----
NextAction: 2017-05-01
OS: Mac
Pri: 3
Type: Bug



Sign in to add a comment

SVG and HTML backgrounds are different on mac when color profile of monitor isn't Color LCD

Reported by andreas....@gmail.com, Sep 28 2016

Issue description

Chrome Version       : 53.0.2785.116
OS Version: OS X 10.12.0
URLs (if applicable) : https://fiken.no/
Other browsers tested:
  Add OK or FAIL after other browsers where you have tested this issue:
     Safari 5:
  Firefox 4.x:
     IE 7/8/9:
   Firefox 50: OK
    Safari 10: OK

What steps will reproduce the problem?
1. Open "Displays" preference pane
2. Go to "Color" tag
3. Ensure "Color LCD" is selected profile
4. The background of the html and the svg at the top now match
5. Select Apple RGB as color profile for the display 
6. The background of the html and the svg no longer match

What is the expected result?

Both SVG backgrounds and HTML backgrounds should have the same color when the color value in their CSS color is the same.

What happens instead of that?

The background color of the SVG background and the HTML background does not match even when their css color is the same.

Please provide any additional information below. Attach a screenshot if
possible.

UserAgentString: Mozilla/5.0 (Macintosh; Intel Mac OS X 10_12_0) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/53.0.2785.116 Safari/537.36

I noticed when I viewed the page on my external samsung monitor, where the default profile is monitor specific. I think it might have something to do with macOS Sierra, as I cannot remember noticing this before the upgrade (but Chrome isn't my default browser so I don't see this particular SVG often in Chrome)

I was also able to reproduce it on my internal macbook pro screen, by changing color profiles there as well (but that is less likely to happen for average users I guess)
 
screenshot-color-lcd-profile.png
40.0 KB View Download
screenshot-samsung-color-profile.png
44.8 KB View Download
Cc: pdr@chromium.org
Components: Blink>SVG
Owner: ccameron@chromium.org
Status: Assigned (was: Unconfirmed)
ccameron: This seems related to color profiles on Mac. Could you take a look?

pdr: It's also related to SVG, so maybe you would have some helpful input.
Components: Internals>GPU
Maybe not SVG specific. We're seeing similar problems within a single div background. Makes me wonder whether the OS has issues.

https://bugs.chromium.org/p/chromium/issues/detail?id=649383
We perform color correction only on images and only when they have an embedded color profile.

This situation is being worked on.
Labels: Needs-Feedback
Is this working now?

If not, if you try this in Canary and enable "Color Correct Rendering" in about:flags, is it working?
Labels: PaintTeamTriaged02170419 BugSource-User
NextAction: 2017-05-01
This seems to be resolved in my current chrome (which is version Version 59.0.3071.15 dev (64-bit)), I can no longer trigger it by changing color profiles on either screen
Labels: -Needs-Feedback
Status: Fixed (was: Assigned)
Thanks. Marking as fixed.

Sign in to add a comment