<?xml version="1.0" encoding="UTF-8" standalone="yes" ?>
<!DOCTYPE bugzilla SYSTEM "https://www.w3.org/Bugs/Public/page.cgi?id=bugzilla.dtd">

<bugzilla version="5.0.4"
          urlbase="https://www.w3.org/Bugs/Public/"
          
          maintainer="sysbot+bugzilla@w3.org"
>

    <bug>
          <bug_id>14749</bug_id>
          
          <creation_ts>2011-11-10 06:06:04 +0000</creation_ts>
          <short_desc>Additional CSS3 box-shadow property to add shadow over img element</short_desc>
          <delta_ts>2012-01-31 18:50:01 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>CSS</product>
          <component>General</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</op_sys>
          <bug_status>NEW</bug_status>
          <resolution></resolution>
          
          <see_also>http://code.google.com/p/chromium/issues/detail?id=96394</see_also>
          <bug_file_loc>http://jsfiddle.net/laukstein/RAAUv/3/show/</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="Binyamin">7raivis</reporter>
          <assigned_to name="This bug has no owner yet - up for the taking">dave.null</assigned_to>
          <cc>7raivis</cc>
    
    <cc>eoconnor</cc>
          
          <qa_contact name="This bug has no owner yet - up for the taking">dave.null</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>59817</commentid>
    <comment_count>0</comment_count>
    <who name="Binyamin">7raivis</who>
    <bug_when>2011-11-10 06:06:04 +0000</bug_when>
    <thetext>Actually it is more feature then bug.


Please provide new standard - additional CSS3 box-shadow property to add shadow over img element!!


Basing on http://www.w3.org/TR/css3-background/#the-box-shadow &quot;..inner shadows of an element are drawn immediately above the background of that element (below the borders and border image, if any).&quot; there still are not such a option.

CSS hack `box-shadow:0 0 30px #000 inset;background-image:url(image.jpg);background-size:100%;` will work fine, but how to implement it to img element with no JavaScript simulating for it.


Here is demo http://jsfiddle.net/laukstein/RAAUv/3/show/ (code view in http://jsfiddle.net/laukstein/RAAUv/3/) with three box-shadow inset examples:

  * img element with box-shadow
  * div element with box-shadow
  * div element with box-shadow, background-image and background-size</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>63418</commentid>
    <comment_count>1</comment_count>
    <who name="Edward O&apos;Connor">eoconnor</who>
    <bug_when>2012-01-31 18:50:01 +0000</bug_when>
    <thetext>Moving to the General component, as I don&apos;t see what this has to do with CSS Regions.</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>