<?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>229676</bug_id>
          
          <creation_ts>2021-08-30 11:06:24 -0700</creation_ts>
          <short_desc>`color-contrast()` not working with system colors</short_desc>
          <delta_ts>2024-08-29 10:56:18 -0700</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>Safari Technology Preview</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</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="Adam Argyle">argyle</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>ntim</cc>
    
    <cc>sam</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>timothy</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1788578</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Argyle">argyle</who>
    <bug_when>2021-08-30 11:06:24 -0700</bug_when>
    <thetext>Looks like system colors don&apos;t work as a value to be compared against. Reduced test case here: https://cdpn.io/argyleink/debug/bbaf6bf6aa72419da3bd53f5eee85329


Maybe system colors also aren&apos;t potential candidates in the list of valid comparison colors either?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1788744</commentid>
    <comment_count>1</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2021-08-30 17:30:59 -0700</bug_when>
    <thetext>See also: https://trac.webkit.org/browser/webkit/trunk/Source/WebCore/css/parser/CSSPropertyParserHelpers.cpp#L1368


```
// FIXME: We don&apos;t have enough context in the parser to resolving a system keyword
// correctly. We should package up the relative color parameters and resolve the
// whole thing at the appropriate time when the origin color is a system keyword.
```</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1790743</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2021-09-06 11:07:16 -0700</bug_when>
    <thetext>&lt;rdar://problem/82797037&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2056307</commentid>
    <comment_count>3</comment_count>
    <who name="Tim Nguyen (:ntim)">ntim</who>
    <bug_when>2024-08-29 10:56:18 -0700</bug_when>
    <thetext>We&apos;re removing color-contrast in bug 278864</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>