<?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>27009</bug_id>
          
          <creation_ts>2009-07-06 14:52:04 -0700</creation_ts>
          <short_desc>Opacity transition ignored when setting inline style to block</short_desc>
          <delta_ts>2022-07-22 11:56:55 -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>528+ (Nightly build)</version>
          <rep_platform>Mac (PowerPC)</rep_platform>
          <op_sys>OS X 10.5</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>Minor</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Josh Alley">josh</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>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>130029</commentid>
    <comment_count>0</comment_count>
      <attachid>32329</attachid>
    <who name="Josh Alley">josh</who>
    <bug_when>2009-07-06 14:52:04 -0700</bug_when>
    <thetext>Created attachment 32329
Test case

Not entirely sure if this is the correct behavior.  Apologies if this is the case.

Setting an element to display:none and opacity:0, with a transition on opacity, then setting it to display:block and opacity:1 results in the transition being ignored.

Expected behavior would be for the element to have its display changed and the element still fade appropriately.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>130460</commentid>
    <comment_count>1</comment_count>
    <who name="Josh Alley">josh</who>
    <bug_when>2009-07-08 10:50:59 -0700</bug_when>
    <thetext>Update -- all transitions are ignored in this case.

Ex: Set the transition of a div to &apos;left&apos;, change the left value after setting the &apos;display&apos; style to block.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>138817</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2009-08-10 14:16:58 -0700</bug_when>
    <thetext>Yeah, transitions don&apos;t run when display is changing from &apos;none&apos;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1886046</commentid>
    <comment_count>3</comment_count>
    <who name="Ahmad Saleem">ahmad.saleem792</who>
    <bug_when>2022-07-22 11:39:14 -0700</bug_when>
    <thetext>I updated the test case to remove -webkit- prefix to make it easier to test all browsers:

Link - https://jsfiddle.net/nwrt6pg5/show

All browsers are ignoring &quot;transition&quot; and upon clicking - It is immediate &apos;TADA&apos; across all (Chrome Canary 105, Firefox Nightly 104 and Safari 15.6 on macOS 12.5). I am not sure on what to expect more, is it something aligned with web-spec or something wrong across all browsers.

Just wanted to share updated testing results. Thanks!</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>32329</attachid>
            <date>2009-07-06 14:52:04 -0700</date>
            <delta_ts>2009-07-06 14:52:04 -0700</delta_ts>
            <desc>Test case</desc>
            <filename>iphone.html</filename>
            <type>text/html</type>
            <size>341</size>
            <attacher name="Josh Alley">josh</attacher>
            
              <data encoding="base64">PGh0bWw+CjxoZWFkPgo8c3R5bGU+CiN0ZXN0IHsKCS13ZWJraXQtdHJhbnNpdGlvbjogb3BhY2l0
eSAycyBsaW5lYXI7CglvcGFjaXR5OiAwOwoJZGlzcGxheTogbm9uZTsKfQo8L3N0eWxlPgo8c2Ny
aXB0PgpmdW5jdGlvbiB0ZXN0ICgpIHsKCXZhciBlID0gZG9jdW1lbnQuZ2V0RWxlbWVudEJ5SWQo
J3Rlc3QnKTsKCWUuc3R5bGUuZGlzcGxheSA9ICdibG9jayc7CgllLnN0eWxlLm9wYWNpdHkgPSAx
Owp9Cjwvc2NyaXB0Pgo8L2hlYWQ+Cjxib2R5PgoKPGRpdiBpZD0idGVzdCI+VEFEQSE8L2Rpdj4K
CjxhIGhyZWY9ImphdmFzY3JpcHQ6dGVzdCgpIj5DTElDSzwvYT4KCjwvYm9keT4KPC9odG1sPgo=
</data>

          </attachment>
      

    </bug>

</bugzilla>