<?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>27505</bug_id>
          
          <creation_ts>2009-07-21 09:28:50 -0700</creation_ts>
          <short_desc>Use or large box-shadow radius causes lag and performance issues</short_desc>
          <delta_ts>2010-08-21 13:29:01 -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>All</rep_platform>
          <op_sys>OS X 10.5</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>22102</dup_id>
          
          <bug_file_loc></bug_file_loc>
          <status_whiteboard></status_whiteboard>
          <keywords></keywords>
          <priority>P1</priority>
          <bug_severity>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>0</everconfirmed>
          <reporter name="Josh Bryant">joshbryant</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>bruce</cc>
    
    <cc>keishi</cc>
    
    <cc>paulirish</cc>
    
    <cc>ploum</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>133487</commentid>
    <comment_count>0</comment_count>
    <who name="Josh Bryant">joshbryant</who>
    <bug_when>2009-07-21 09:28:50 -0700</bug_when>
    <thetext>When using a large radius on a box-shadow, on both Mac and PC, Safari 4 causes a massive CPU takeover in which just having it on screen can use up to 40% CPU and trying to do anything (hover over a link, type text in a text field, etc...) will spike the CPU to 100%.

It also makes the entire page pretty much unusable due to the lag.

I&apos;ve done a test case here: http://tinycrumb.org/boxshadowcpu.html</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>133489</commentid>
    <comment_count>1</comment_count>
      <attachid>33183</attachid>
    <who name="Josh Bryant">joshbryant</who>
    <bug_when>2009-07-21 09:36:52 -0700</bug_when>
    <thetext>Created attachment 33183
Test Case</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>219762</commentid>
    <comment_count>2</comment_count>
    <who name="Bruce Cowan">bruce</who>
    <bug_when>2010-05-01 17:10:53 -0700</bug_when>
    <thetext>I can confirm this. http://identi.ca/ is very difficult to use, and scrolls very slowly. Offending item in CSS is &quot;-webkit-box-shadow: rgba(194, 194, 194, 0.296875) 5px 7px 7px;&quot;.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>256713</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-07-27 11:19:05 -0700</bug_when>
    <thetext>Probably dup.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267595</commentid>
    <comment_count>4</comment_count>
    <who name="Paul Irish">paulirish</who>
    <bug_when>2010-08-21 12:58:34 -0700</bug_when>
    <thetext>probably a dupe of issue 22102</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>267598</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2010-08-21 13:29:01 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 22102 ***</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>33183</attachid>
            <date>2009-07-21 09:36:52 -0700</date>
            <delta_ts>2009-07-21 09:36:52 -0700</delta_ts>
            <desc>Test Case</desc>
            <filename>url.txt</filename>
            <type>text/plain</type>
            <size>38</size>
            <attacher name="Josh Bryant">joshbryant</attacher>
            
              <data encoding="base64">aHR0cDovL3RpbnljcnVtYi5vcmcvYm94c2hhZG93Y3B1Lmh0bWw=
</data>

          </attachment>
      

    </bug>

</bugzilla>