<?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>127040</bug_id>
          
          <creation_ts>2014-01-15 03:44:03 -0800</creation_ts>
          <short_desc>box-shadow stops working at 2042px spread</short_desc>
          <delta_ts>2016-02-17 06:45:23 -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>Layout and Rendering</component>
          <version>528+ (Nightly build)</version>
          <rep_platform>Mac (Intel)</rep_platform>
          <op_sys>OS X 10.9</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>Major</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Erik Aigner">aigner.erik</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>andyearnshaw</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>968263</commentid>
    <comment_count>0</comment_count>
    <who name="Erik Aigner">aigner.erik</who>
    <bug_when>2014-01-15 03:44:03 -0800</bug_when>
    <thetext>box-shadow stops working at a 2042px spread value, if a border-radius is set.

div {
    border-radius: 3px;
    box-shadow: 0 0 0 2042px rgba(0,0,0,0.2), 0 0 0 3px #aaa;
    height: 100px;
    width: 100px;
}</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968264</commentid>
    <comment_count>1</comment_count>
    <who name="Erik Aigner">aigner.erik</who>
    <bug_when>2014-01-15 03:44:57 -0800</bug_when>
    <thetext>Browser: Safari 7.0.1/WebKit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968281</commentid>
    <comment_count>2</comment_count>
    <who name="Erik Aigner">aigner.erik</who>
    <bug_when>2014-01-15 04:55:32 -0800</bug_when>
    <thetext>Also the element dimensions seem to affect it, since it works with a width/height of 1px.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>968283</commentid>
    <comment_count>3</comment_count>
    <who name="Erik Aigner">aigner.erik</who>
    <bug_when>2014-01-15 04:58:32 -0800</bug_when>
    <thetext>Example http://jsfiddle.net/dKXh8/</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>1165573</commentid>
    <comment_count>4</comment_count>
    <who name="Andy E">andyearnshaw</who>
    <bug_when>2016-02-17 06:45:23 -0800</bug_when>
    <thetext>I&apos;ve experienced the same issue, it appears to also depend on the viewport height.  For instance, on my MBP retina display (viewport size 1440x589 with the dev tools open) a 727x588 element has a maximum shadow spread of 1018px.  On my portrait screen (viewport size 1609x1080) the same element has a maximum shadow spread of 2039px.

If the element is draggable, the shadow sometimes appears as you drag it around, but doesn&apos;t always render correctly even when it appears.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>