<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://bugs.webkit.org/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4.1"
          urlbase="https://bugs.webkit.org/"
          
          maintainer="admin@webkit.org"
>

    <bug>
          <bug_id>31316</bug_id>
          
          <creation_ts>2009-11-10 14:20:11 -0800</creation_ts>
          <short_desc>Clean up color-correction code on Windows</short_desc>
          <delta_ts>2021-12-25 09:34:16 -0800</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>WebKit</product>
          <component>CSS</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>WONTFIX</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Beth Dakin">bdakin</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bdakin</cc>
    
    <cc>ntim</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>162215</commentid>
    <comment_count>0</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2009-11-10 14:20:11 -0800</bug_when>
    <thetext>I just committed a patch making -webkit-color-correction work for CSS Colors &lt;https://bugs.webkit.org/show_bug.cgi?id=31196&gt;. It broke with Windows build, and I got bweinstein to help me fix it &lt;http://trac.webkit.org/changeset/50764&gt;. Since we were primarily concerned with getting the build working again, I told him just to send DeviceColorSpace to setFillColor() and setStrokeColor(). All of the call sites he modified need to be revisited because that is probably not the correct solution.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162782</commentid>
    <comment_count>1</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2009-11-11 20:32:58 -0800</bug_when>
    <thetext>In addition to fixing the aforementioned call-sites, we also need to re-enable the feature! Unfortunately we had to disable it because of a CG bug. Once the bug is fixed, we need to re-enable and fix these call sites.

See &lt;https://bugs.webkit.org/show_bug.cgi?id=31363&gt; for details of disabling.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>162783</commentid>
    <comment_count>2</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2009-11-11 20:33:21 -0800</bug_when>
    <thetext>&lt;rdar://problem/7387791&gt; Make -webkit-color-correction correct color on Windows</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>169814</commentid>
    <comment_count>3</comment_count>
    <who name="Beth Dakin">bdakin</who>
    <bug_when>2009-12-08 15:20:49 -0800</bug_when>
    <thetext>Turns out Windows renders in sRGB all the time! So this feature would be a no-op on Windows even if it was properly implemented. 

No work needs to be done for this to work, but we should still clean up the code and adjust all of the FIXMEs to reflect the new information that we have.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1826817</commentid>
    <comment_count>4</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2021-12-25 09:34:16 -0800</bug_when>
    <thetext>Bug 147812 removed -webkit-color-correction.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>