<?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>302433</bug_id>
          
          <creation_ts>2025-11-12 16:41:18 -0800</creation_ts>
          <short_desc>Implement name only container queries</short_desc>
          <delta_ts>2025-12-15 08:17:03 -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>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>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Adam Argyle">atom</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>50167214</cc>
    
    <cc>afrehner.work</cc>
    
    <cc>koivisto</cc>
    
    <cc>ntim</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2158389</commentid>
    <comment_count>0</comment_count>
    <who name="Adam Argyle">atom</who>
    <bug_when>2025-11-12 16:41:18 -0800</bug_when>
    <thetext>WPTs https://wpt.fyi/results/css/css-conditional/container-queries/query-container-name.html?label=master&amp;label=experimental&amp;aligned&amp;q=container-name

```
.example { 
  container-name: --foo 
}

@container --foo { 
  #target { 
    color: green 
  } 
}
```

this subtle feature has high value, enabling many meaningful usecases.

authors expressing interest:
- https://blog.kizu.dev/named-container-presence-check/
- https://nerdy.dev/components-can-know</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2158390</commentid>
    <comment_count>1</comment_count>
    <who name="Anthony Frehner">afrehner.work</who>
    <bug_when>2025-11-12 16:44:38 -0800</bug_when>
    <thetext>I&apos;m hoping to make the patch for this.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2158574</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2025-11-13 10:42:52 -0800</bug_when>
    <thetext>&lt;rdar://problem/164648718&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165545</commentid>
    <comment_count>3</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-12-12 16:36:34 -0800</bug_when>
    <thetext>Committed 304388@main (6b8d8d4d09fe): &lt;https://commits.webkit.org/304388@main&gt;

Reviewed commits have been landed. Closing PR #54667 and removing active labels.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2165923</commentid>
    <comment_count>4</comment_count>
    <who name="yisibl">50167214</who>
    <bug_when>2025-12-15 08:17:03 -0800</bug_when>
    <thetext>Spec: https://github.com/w3c/csswg-drafts/pull/11172</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>