<?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>58982</bug_id>
          
          <creation_ts>2011-04-20 05:41:41 -0700</creation_ts>
          <short_desc>box-shadow glitch on hover with -webkit-transition</short_desc>
          <delta_ts>2011-05-19 14:12:30 -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>420+</version>
          <rep_platform>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</resolution>
          
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P2</priority>
          <bug_severity>Normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Husar">enfantsauvage</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>enfantsauvage</cc>
    
    <cc>jglovier</cc>
    
    <cc>shanestephens</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>389159</commentid>
    <comment_count>0</comment_count>
    <who name="Husar">enfantsauvage</who>
    <bug_when>2011-04-20 05:41:41 -0700</bug_when>
    <thetext>If you have an HTML element with multiple box-shadows that should get a change in the box-shadow values after a hover with -webkit-transition there is a noticeable glitch in the shadows rendering.  

Tho replicate:
Create an element (&lt;div&gt;) with the following styles:

div {
	width:220px;
        background-color:#DDD;
	border:1px solid #857A6D;
	border-left:1px solid #C5BEB8;
	border-top:1px solid #C5BEB8;
	padding:30px 30px 60px;
	border-radius:8px;
       -webkit-transition: all .4s ease-in-out;	
       -webkit-box-shadow: inset 4px 4px 4px rgba(245, 245, 245, 0.8), 
		inset 0 3px 15px rgba(0, 0, 0, 0.1); 
       	box-shadow: inset 4px 4px 4px rgba(245, 245, 245, 0.8), 
		inset 0 3px 15px rgba(0, 0, 0, 0.1);
}

div:hover {
	-webkit-box-shadow: inset 4px 4px 4px rgba(245, 245, 245, 0.8), 
		inset 0 3px 15px rgba(0, 0, 0, 0.1),
		4px 4px 6px rgba(166, 153, 140, 0.7), 
		-3px -3px 6px rgba(166, 153, 140, 0.7);
	box-shadow: inset 4px 4px 4px rgba(245, 245, 245, 0.8), 
		inset 0 3px 15px rgba(0, 0, 0, 0.1),
		4px 4px 6px rgba(166, 153, 140, 0.5), 
		-2px -2px 6px rgba(166, 153, 140, 0.5);
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>389161</commentid>
    <comment_count>1</comment_count>
    <who name="Husar">enfantsauvage</who>
    <bug_when>2011-04-20 05:43:19 -0700</bug_when>
    <thetext>*** Bug 58980 has been marked as a duplicate of this bug. ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398189</commentid>
    <comment_count>2</comment_count>
    <who name="Joel A Glovier">jglovier</who>
    <bug_when>2011-05-04 12:42:56 -0700</bug_when>
    <thetext>I too have experienced this bug, and there is an example in the h1 on this page I built: http://cure.org/goh

Also posted about it on StackOverflow here: http://stackoverflow.com/questions/3942971/webkit-choking-on-rendering-multiple-text-shadow-box-shadow-values-with-webkit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>398190</commentid>
    <comment_count>3</comment_count>
      <attachid>92304</attachid>
    <who name="Joel A Glovier">jglovier</who>
    <bug_when>2011-05-04 12:44:22 -0700</bug_when>
    <thetext>Created attachment 92304
The h1 on this page has multiple box-shadows and on hover they render awkwardly, one after another</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>400505</commentid>
    <comment_count>4</comment_count>
    <who name="Joel A Glovier">jglovier</who>
    <bug_when>2011-05-09 08:25:44 -0700</bug_when>
    <thetext>Just noticed that the current build of Chrome (Chrome version 10.0.648.205) resolves the bug in how it renders the double shadow transition. Safar, however, as of version 5.0.5 (6533.21.1), still displays the bug.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406227</commentid>
    <comment_count>5</comment_count>
    <who name="Shane Stephens">shanestephens</who>
    <bug_when>2011-05-18 20:34:35 -0700</bug_when>
    <thetext>Confirm that this is fixed in Chrome 11 and Canary.  I&apos;m marking this as fixed as it looks to have been resolved in WebKit.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406322</commentid>
    <comment_count>6</comment_count>
    <who name="Joel A Glovier">jglovier</who>
    <bug_when>2011-05-19 03:46:59 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Confirm that this is fixed in Chrome 11 and Canary.  I&apos;m marking this as fixed as it looks to have been resolved in WebKit.

Did you see that Safari still displays with the bug?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>406638</commentid>
    <comment_count>7</comment_count>
    <who name="Shane Stephens">shanestephens</who>
    <bug_when>2011-05-19 14:12:30 -0700</bug_when>
    <thetext>WebKit nightly renders the transition correctly.  The issue is fixed in WebKit but will obviously take some time to roll out into a production version of Safari.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>92304</attachid>
            <date>2011-05-04 12:44:22 -0700</date>
            <delta_ts>2011-05-04 12:44:22 -0700</delta_ts>
            <desc>The h1 on this page has multiple box-shadows and on hover they render awkwardly, one after another</desc>
            <filename>url.txt</filename>
            <type>text/plain</type>
            <size>19</size>
            <attacher name="Joel A Glovier">jglovier</attacher>
            
              <data encoding="base64">aHR0cDovL2N1cmUub3JnL2dvaA==
</data>

          </attachment>
      

    </bug>

</bugzilla>