<?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>113636</bug_id>
          
          <creation_ts>2013-03-30 00:57:37 -0700</creation_ts>
          <short_desc>inherit value of visibility property does not work when both the parent and child node have visibility keyframe animation</short_desc>
          <delta_ts>2023-02-20 03:38:25 -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>528+ (Nightly build)</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>CONFIGURATION CHANGED</resolution>
          
          <see_also>https://bugs.webkit.org/show_bug.cgi?id=251433</see_also>
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords>InRadar</keywords>
          <priority>P2</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Abhishek kumar">abhishek0687</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>ahmad.saleem792</cc>
    
    <cc>ap</cc>
    
    <cc>bfulgham</cc>
    
    <cc>dino</cc>
    
    <cc>graouts</cc>
    
    <cc>rniwa</cc>
    
    <cc>simon.fraser</cc>
    
    <cc>webkit-bug-importer</cc>
    
    <cc>zalan</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>866568</commentid>
    <comment_count>0</comment_count>
      <attachid>195847</attachid>
    <who name="Abhishek kumar">abhishek0687</who>
    <bug_when>2013-03-30 00:57:37 -0700</bug_when>
    <thetext>Created attachment 195847
TestCase - The visibility property is inherited during the animation

The visibility property of the parent during its keyframe animation is not inherited by its children(also having visibility keyframe animation). As per the standard when the &quot;visibility&quot; is set to &quot;inherit&quot; the &quot;visibility&quot; property will be set as its parent. 

While for the other cases when the parent have &quot;visibility&quot; animation and the child does not have any &quot;visibility&quot; animation and vice versa, the value is inherited properly.



Attached is an experiment and the explanation is below
-------------------------------------------------------

&lt;div id=&quot;d1&quot;&gt; is the parent div having a red rectangle which have visibility keyframe animation which makes the child visible for 1s and then invisible for the next 1s.
&lt;div id=&quot;d2&quot;&gt; is the child of the &lt;div id=&quot;d1&quot;&gt; having a blue rectangle which has a visibility keyframe animation to make it behave like its parent by using the inherit value in the visibility property.

Expected Result
---------------
The canvas(red rectangle) under &lt;div id=&quot;d1&quot;&gt; is on for the first 1s and then off for the next 1s. Then after the end of the animation i.e after 2s it is visible.
The canvas(blue rectangle) under &lt;div id=&quot;d2&quot;&gt; behave as the above canvas i.e it will be on for the first 1s and then off for the next 1s, then after the end of the animation i.e after 2s it is visible.


Result Seen
-----------
The canvas(red rectangle) under &lt;div id=&quot;d1&quot;&gt; behaves as expected.
The canvas(blue rectangle) under &lt;div id=&quot;d2&quot;&gt; is always on and does not become hidden after 1 second, means it did not inherit the visibility property from parent</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873375</commentid>
    <comment_count>1</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-06-01 14:29:44 -0700</bug_when>
    <thetext>I am still able to reproduce this bug in Safari 15.5 on macOS 12.4. Safari matches Firefox Nightly 103 behavior where Blue rectangle does not disappear while red works as described in Expected Result. In case of Chrome Canary 104, it syncs and both disappear same time.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1873474</commentid>
    <comment_count>2</comment_count>
    <who name="Radar WebKit Bug Importer">webkit-bug-importer</who>
    <bug_when>2022-06-01 18:51:05 -0700</bug_when>
    <thetext>&lt;rdar://problem/94260483&gt;</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1934936</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2023-02-18 15:49:47 -0800</bug_when>
    <thetext>It seems to be fixed in WebKit ToT (260520@main) using mini-browser, while broken in Safari 16.3 and Safari Technology Preview 163.

Marking this as &quot;RESOLVED CONFIGURATION CHANGED&quot;. Thanks!</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1935042</commentid>
    <comment_count>4</comment_count>
    <who name="Antoine Quint">graouts</who>
    <bug_when>2023-02-20 03:38:25 -0800</bug_when>
    <thetext>Thanks for catching this Ahmad. Indeed, this progressed with 259631@main, the fix for bug 251433.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>195847</attachid>
            <date>2013-03-30 00:57:37 -0700</date>
            <delta_ts>2013-03-30 00:57:37 -0700</delta_ts>
            <desc>TestCase - The visibility property is inherited during the animation</desc>
            <filename>VisibilityInheritanceTest.html</filename>
            <type>text/html</type>
            <size>1232</size>
            <attacher name="Abhishek kumar">abhishek0687</attacher>
            
              <data encoding="base64">PGh0bWw+DQoJPGhlYWQ+DQoJPHN0eWxlIHR5cGU9InRleHQvY3NzIj4NCgkJCQ0KCQkNCg0KDQoJ
CQkjZDENCgkJCXsgDQoJCQkJLXdlYmtpdC1hbmltYXRpb24tbmFtZTphbmltMTsNCgkJCQktd2Vi
a2l0LWFuaW1hdGlvbi1kdXJhdGlvbjoyczsNCgkJCX0NCgkJCUAtd2Via2l0LWtleWZyYW1lcyBh
bmltMQ0KCQkJew0KCQkJCTAle3Zpc2liaWxpdHk6aW5oZXJpdDt9DQoJCQkJNTAle3Zpc2liaWxp
dHk6aW5oZXJpdDt9DQoJCQkJNTAuMSV7dmlzaWJpbGl0eTpoaWRkZW47fQkJCQkNCgkJCQkxMDAl
e3Zpc2liaWxpdHk6aGlkZGVuO30JCQkJDQoJCQl9DQoJCQkNCg0KCQkJI2QyDQoJCQl7CQ0KCQkJ
CS13ZWJraXQtYW5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