<?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>61622</bug_id>
          
          <creation_ts>2011-05-27 04:39:44 -0700</creation_ts>
          <short_desc>box-shadow doesn&apos;t render if optional color is omitted</short_desc>
          <delta_ts>2012-04-05 16:27:07 -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>PC</rep_platform>
          <op_sys>Windows 7</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>DUPLICATE</resolution>
          <dup_id>58511</dup_id>
          
          <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>1</everconfirmed>
          <reporter name="Rodrigo Ludgero">rludgero</reporter>
          <assigned_to name="Nobody">webkit-unassigned</assigned_to>
          <cc>dtharp</cc>
    
    <cc>eoconnor</cc>
    
    <cc>kulanthaivel</cc>
    
    <cc>simon.fraser</cc>
          

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>411333</commentid>
    <comment_count>0</comment_count>
    <who name="Rodrigo Ludgero">rludgero</who>
    <bug_when>2011-05-27 04:39:44 -0700</bug_when>
    <thetext>&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;Documento sin título&lt;/title&gt;

&lt;!--stylesheets--&gt;

&lt;style&gt;
body {
	background-color:#444444;
	margin:0 auto;
}

#header-wrapper {
	height:30px;
	margin: 0 auto; 
	position:relative;
	clear:both;
	float:none;
	background-color:#444444;
	padding:3px;
	border-bottom-color:#353535;
	border-bottom-style:solid;
	border-bottom-width:1px;		
	-moz-box-shadow: 0px 0px 10px;
	-webkit-box-shadow: 0px 0px 10px;
	box-shadow: 0px 0px 10px;
	z-index:9999;	
}

#wrapper {
	height:720px;
	margin: 0 auto; 
	position:relative;
	clear:both;
	float:none;
}

#foot-wrapper {
	height:30px;
	margin:0 auto; 
	position:relative;
	clear:both;
	float:none;	
	padding:3px;
	border-top-color:#353535;
	border-top-style:solid;
	border-top-width:1px;		
	-moz-box-shadow:0px 0px 10px;
	-webkit-box-shadow:0px 0px 10px;
	box-shadow:0px 0px 10px;
	z-index:9999;	
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;


&lt;section id=&quot;header-wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;foot-wrapper&quot;&gt;&lt;/section&gt;


&lt;/body&gt;
&lt;/html&gt;


-----------------------------------------------------------------------

Webkit box shadow doesn&apos;t display the shadow in header and foot wrapper, in the others browsers like firefox,ie9 and opera work perfect.
Why?</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>411723</commentid>
    <comment_count>1</comment_count>
      <attachid>95232</attachid>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-27 17:02:28 -0700</bug_when>
    <thetext>Created attachment 95232
Testcase</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>411733</commentid>
    <comment_count>2</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-27 17:21:33 -0700</bug_when>
    <thetext>The issue is that you&apos;re not supplying a shadow color. The spec says &quot;omitted colors are a UA-chosen color&quot; but WebKit doesn&apos;t allow that yet.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>411802</commentid>
    <comment_count>3</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-27 21:33:38 -0700</bug_when>
    <thetext>

*** This bug has been marked as a duplicate of bug 58511 ***</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>411814</commentid>
    <comment_count>4</comment_count>
    <who name="Rodrigo Ludgero">rludgero</who>
    <bug_when>2011-05-27 23:34:56 -0700</bug_when>
    <thetext>(In reply to comment #2)
&gt; The issue is that you&apos;re not supplying a shadow color. The spec says &quot;omitted colors are a UA-chosen color&quot; but WebKit doesn&apos;t allow that yet.

I think the problem is in versions of chrome 11.0.696.71 and Safari 5.05, because i can&apos;t see the shadow, even adding the color.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>411854</commentid>
    <comment_count>5</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-28 09:19:58 -0700</bug_when>
    <thetext>Safari 5.0.5 doesn&apos;t support unprefixed box-shadow.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412190</commentid>
    <comment_count>6</comment_count>
    <who name="Rodrigo Ludgero">rludgero</who>
    <bug_when>2011-05-30 04:46:34 -0700</bug_when>
    <thetext>(In reply to comment #5)
&gt; Safari 5.0.5 doesn&apos;t support unprefixed box-shadow.

&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;Documento sin título&lt;/title&gt;

&lt;!--stylesheets--&gt;

&lt;style&gt;
body {
    background-color:#444444;
    margin:0 auto;
}

#header-wrapper {
    height:30px;
    margin: 0 auto; 
    position:relative;
    clear:both;
    float:none;
    background-color:#444444;
    padding:3px;
    border-bottom-color:#353535;
    border-bottom-style:solid;
    border-bottom-width:1px;        
    -moz-box-shadow: 0px 0px 10px;&lt;!--firefox--&gt;
    -webkit-box-shadow: 0px 0px 10px #000000;&lt;!--chrome and safari--&gt;
    box-shadow: 0px 0px 10px;&lt;!--opera and ie9--&gt;
    z-index:9999;    
}

#wrapper {
    height:720px;
    margin: 0 auto; 
    position:relative;
    clear:both;
    float:none;
}

#foot-wrapper {
    height:30px;
    margin:0 auto; 
    position:relative;
    clear:both;
    float:none;    
    padding:3px;
    border-top-color:#353535;
    border-top-style:solid;
    border-top-width:1px;        
    -moz-box-shadow:0px 0px 10px;&lt;!--firefox--&gt;
    -webkit-box-shadow:0px 0px 10px #000000;&lt;!--chrome and safari--&gt;
    box-shadow:0px 0px 10px;&lt;!--opera and ie9--&gt;
    z-index:9999;   
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;


&lt;section id=&quot;header-wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;foot-wrapper&quot;&gt;&lt;/section&gt;


&lt;/body&gt;
&lt;/html&gt;


&lt;!-- The shadow in IE9, Opera 11, firefox 4, show such as .png below:

http://imageshack.us/photo/my-images/862/fireshotcapture.png/ --&gt;


&lt;!-- I still have trouble viewing in safari and chrome, both still show no shadow. --&gt;




Thanks.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412236</commentid>
    <comment_count>7</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-30 08:25:03 -0700</bug_when>
    <thetext>&lt;!--firefox--&gt; is not a valid CSS comment. This is breaking your CSS.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412253</commentid>
    <comment_count>8</comment_count>
    <who name="Rodrigo Ludgero">rludgero</who>
    <bug_when>2011-05-30 09:23:28 -0700</bug_when>
    <thetext>(In reply to comment #7)
&gt; &lt;!--firefox--&gt; is not a valid CSS comment. This is breaking your CSS.

My problem is not the comment, if you copy the code and look in the others browsers, you see and understand what i want...

The shadow in IE9, Opera 11, firefox 4, show such as .png below:

http://imageshack.us/photo/my-images/862/fireshotcapture.png/ 

I still have trouble viewing in safari and chrome, both still show no shadow. 

Sorry for my basic english, and thank you.

-------------------------------------------------------------------------

&lt;!DOCTYPE HTML&gt;
&lt;html&gt;
&lt;head&gt;
&lt;meta http-equiv=&quot;Content-Type&quot; content=&quot;text/html; charset=utf-8&quot;&gt;
&lt;title&gt;Documento sin título&lt;/title&gt;

&lt;!--stylesheets--&gt;

&lt;style&gt;
body {
    background-color:#444444;
    margin:0 auto;
}

#header-wrapper {
    height:30px;
    margin: 0 auto; 
    position:relative;
    clear:both;
    float:none;
    background-color:#444444;
    padding:3px;
    border-bottom-color:#353535;
    border-bottom-style:solid;
    border-bottom-width:1px;        
    -moz-box-shadow: 0px 0px 10px; /*mozilla-firefox*/&gt;
    -webkit-box-shadow: 0px 0px 10px #000000; /*chrome and safari*/
    box-shadow: 0px 0px 10px; /*opera and ie9*/
    z-index:9999;    
}

#wrapper {
    height:720px;
    margin: 0 auto; 
    position:relative;
    clear:both;
    float:none;
}

#foot-wrapper {
    height:30px;
    margin:0 auto; 
    position:relative;
    clear:both;
    float:none;    
    padding:3px;
    border-top-color:#353535;
    border-top-style:solid;
    border-top-width:1px;        
    -moz-box-shadow:0px 0px 10px; /*mozilla-firefox*/
    -webkit-box-shadow:0px 0px 10px #000000; /*chrome and safari*/
    box-shadow:0px 0px 10px; /*opera and ie9*/
    z-index:9999;   
}
&lt;/style&gt;

&lt;/head&gt;

&lt;body&gt;


&lt;section id=&quot;header-wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;wrapper&quot;&gt;&lt;/section&gt;

&lt;section id=&quot;foot-wrapper&quot;&gt;&lt;/section&gt;


&lt;/body&gt;
&lt;/html&gt;

-----------------------------------------------------------------------------</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412258</commentid>
    <comment_count>9</comment_count>
    <who name="Simon Fraser (smfr)">simon.fraser</who>
    <bug_when>2011-05-30 09:30:17 -0700</bug_when>
    <thetext>Please stop pasting large chunks of markup into the. Use the attachment feature, and make a minimal testcase (single div).

/*mozilla-firefox*/&gt;
still bad here.</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>412267</commentid>
    <comment_count>10</comment_count>
    <who name="Rodrigo Ludgero">rludgero</who>
    <bug_when>2011-05-30 09:49:35 -0700</bug_when>
    <thetext>(In reply to comment #9)
&gt; Please stop pasting large chunks of markup into the. Use the attachment feature, and make a minimal testcase (single div).
&gt; 
&gt; /*mozilla-firefox*/&gt;
&gt; still bad here.

Forget, i found the solution, thank you for your time.</thetext>
  </long_desc>
      
          <attachment
              isobsolete="0"
              ispatch="0"
              isprivate="0"
          >
            <attachid>95232</attachid>
            <date>2011-05-27 17:02:28 -0700</date>
            <delta_ts>2011-05-27 17:02:28 -0700</delta_ts>
            <desc>Testcase</desc>
            <filename>shadowtest.html</filename>
            <type>text/html</type>
            <size>1221</size>
            <attacher name="Simon Fraser (smfr)">simon.fraser</attacher>
            
              <data encoding="base64">PCFET0NUWVBFIEhUTUw+CjxodG1sPgo8aGVhZD4KPG1ldGEgaHR0cC1lcXVpdj0iQ29udGVudC1U
eXBlIiBjb250ZW50PSJ0ZXh0L2h0bWw7IGNoYXJzZXQ9dXRmLTgiPgo8dGl0bGU+RG9jdW1lbnRv
IHNpbiB0w610dWxvPC90aXRsZT4KCjwhLS1zdHlsZXNoZWV0cy0tPgoKPHN0eWxlPgpib2R5IHsK
ICAgIGJhY2tncm91bmQtY29sb3I6IzQ0NDQ0NDsKICAgIG1hcmdpbjowIGF1dG87Cn0KCiNoZWFk
ZXItd3JhcHBlciB7CiAgICBoZWlnaHQ6MzBweDsKICAgIG1hcmdpbjogMCBhdXRvOyAKICAgIHBv
c2l0aW9uOnJlbGF0aXZlOwogICAgY2xlYXI6Ym90aDsKICAgIGZsb2F0Om5vbmU7CiAgICBiYWNr
Z3JvdW5kLWNvbG9yOiM0NDQ0NDQ7CiAgICBwYWRkaW5nOjNweDsKICAgIGJvcmRlci1ib3R0b20t
Y29sb3I6IzM1MzUzNTsKICAgIGJvcmRlci1ib3R0b20tc3R5bGU6c29saWQ7CiAgICBib3JkZXIt
Ym90dG9tLXdpZHR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