<?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>279225</bug_id>
          
          <creation_ts>2024-09-05 14:05:07 -0700</creation_ts>
          <short_desc>Scoped style with :scope does not invalidate correctly</short_desc>
          <delta_ts>2025-08-07 07:31:12 -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>Mac (Intel)</rep_platform>
          <op_sys>macOS 14</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="David Shin">dshin</reporter>
          <assigned_to name="Matthieu Dubet">m_dubet</assigned_to>
          <cc>koivisto</cc>
    
    <cc>m_dubet</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zacky</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>2058032</commentid>
    <comment_count>0</comment_count>
      <attachid>472471</attachid>
    <who name="David Shin">dshin</who>
    <bug_when>2024-09-05 14:05:07 -0700</bug_when>
    <thetext>Created attachment 472471
Minimum Reproducible Case

STR: Load attached test case
Expected: 2 bordered divs, nested. Their background colour cycles between transparent and pink (For inner div) and purple (For outer div).
Actual: Only the innermost div cycles.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2059765</commentid>
    <comment_count>1</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2024-09-12 14:06:17 -0700</bug_when>
    <thetext>&lt;rdar://problem/135907710&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134173</commentid>
    <comment_count>2</comment_count>
    <who name="Matthieu Dubet">m_dubet</who>
    <bug_when>2025-08-04 05:34:36 -0700</bug_when>
    <thetext>Pull request: https://github.com/WebKit/WebKit/pull/48892</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134775</commentid>
    <comment_count>3</comment_count>
    <who name="Matthieu Dubet">m_dubet</who>
    <bug_when>2025-08-06 15:40:57 -0700</bug_when>
    <thetext>*** Bug 276454 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>2134913</commentid>
    <comment_count>4</comment_count>
    <who name="EWS">ews-feeder</who>
    <bug_when>2025-08-07 07:31:09 -0700</bug_when>
    <thetext>Committed 298335@main (8e1c54e1fca8): &lt;https://commits.webkit.org/298335@main&gt;

Reviewed commits have been landed. Closing PR #48892 and removing active labels.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>472471</attachid>
            <date>2024-09-05 14:05:07 -0700</date>
            <delta_ts>2024-09-05 14:05:07 -0700</delta_ts>
            <desc>Minimum Reproducible Case</desc>
            <filename>s.html</filename>
            <type>text/html</type>
            <size>363</size>
            <attacher name="David Shin">dshin</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIGh0bWw+CjxzdHlsZT4KZGl2IHsKICBwYWRkaW5nOiA1cHg7CiAgYm9yZGVyOiAx
cHggc29saWQ7Cn0KPC9zdHlsZT4KPGRpdiBpZD0iZHV0IiBjbGFzcz0iZm9vIj4KICA8c3R5bGU+
CiAgICBAc2NvcGUgKC5mb28pIHsKICAgICAgOnNjb3BlIHsKICAgICAgICBiYWNrZ3JvdW5kOiBw
dXJwbGU7CiAgICAgIH0KICAgICAgLmJhciB7CiAgICAgICAgYmFja2dyb3VuZDogcGluazsKICAg
ICAgfQogICAgfQogIDwvc3R5bGU+CiAgPGRpdiBjbGFzcz0iYmFyIj48L2Rpdj4KPC9kaXY+Cjxz
Y3JpcHQ+CnNldEludGVydmFsKCgpID0+IHsKICBkdXQuY2xhc3NMaXN0LnRvZ2dsZSgiZm9vIik7
Cn0sIDEwMDApOwo8L3NjcmlwdD4K
</data>

          </attachment>
      

    </bug>

</bugzilla>