<?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>262914</bug_id>
          
          <creation_ts>2023-10-09 13:14:27 -0700</creation_ts>
          <short_desc>[css-color-5] Support light-dark() function for color values</short_desc>
          <delta_ts>2024-09-24 16:07:41 -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>WebKit Nightly Build</version>
          <rep_platform>Unspecified</rep_platform>
          <op_sys>Unspecified</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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>
          <dependson>266889</dependson>
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Bramus">bramus</reporter>
          <assigned_to name="Aditya Keerthi">akeerthi</assigned_to>
          <cc>akeerthi</cc>
    
    <cc>lwarlow</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1983791</commentid>
    <comment_count>0</comment_count>
    <who name="Bramus">bramus</who>
    <bug_when>2023-10-09 13:14:27 -0700</bug_when>
    <thetext>Implement light-dark(&lt;color&gt;, &lt;color&gt;)

This function computes to the computed value of the first color, if the used color scheme is light or unknown, or to the computed value of the second color, if the used color scheme is dark.

Relevant Links:
- Spec: https://drafts.csswg.org/css-color-5/#light-dark
- CrBug: https://bugs.chromium.org/p/chromium/issues/detail?id=1490618
- Firefox: https://bugzilla.mozilla.org/show_bug.cgi?id=1856999</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1985394</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2023-10-16 13:15:13 -0700</bug_when>
    <thetext>&lt;rdar://problem/117033939&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2001986</commentid>
    <comment_count>2</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2023-12-26 09:34:02 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/22242</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008205</commentid>
    <comment_count>3</comment_count>
    <who name="Aditya Keerthi">akeerthi</who>
    <bug_when>2024-01-27 14:27:29 -0800</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/23364</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2008349</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2024-01-28 16:33:04 -0800</bug_when>
    <thetext>Committed 273634@main (42f9569ae95a): &lt;https://commits.webkit.org/273634@main&gt;

Reviewed commits have been landed. Closing PR #23364 and removing active labels.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>