<?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>189363</bug_id>
          
          <creation_ts>2018-09-06 12:12:58 -0700</creation_ts>
          <short_desc>Implement css-values toggle() notation</short_desc>
          <delta_ts>2026-03-30 01:02:42 -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>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Enhancement</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Simeon Vincent">svincent</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bfulgham</cc>
    
    <cc>bugs.webkit.org</cc>
    
    <cc>koivisto</cc>
    
    <cc>sam</cc>
    
    <cc>sebastianzartner</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>1457175</commentid>
    <comment_count>0</comment_count>
    <who name="Simeon Vincent">svincent</who>
    <bug_when>2018-09-06 12:12:58 -0700</bug_when>
    <thetext>Please implement the CSS Values specification&apos;s Toggle notation as defined in CSS Values 4 (working draft) https://drafts.csswg.org/css-values-4/#toggle-notation. The following summary and example come form that document:

The toggle() expression allows descendant elements to cycle over a list of values instead of inheriting the same value.

The following example makes &lt;em&gt; elements italic in general, but makes them normal if they’re inside something that’s italic:

&gt; em { font-style: toggle(italic, normal); }

---

Issues in other browser vendor bug trackers

https://bugs.chromium.org/p/chromium/issues/detail?id=715070
https://bugzilla.mozilla.org/show_bug.cgi?id=363250</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1880295</commentid>
    <comment_count>1</comment_count>
    <who name="Brent Fulgham">bfulgham</who>
    <bug_when>2022-07-01 16:59:00 -0700</bug_when>
    <thetext>This doesn&apos;t appear to be on track to be implemented by any other browsers at present.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>