<?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>19142</bug_id>
          
          <creation_ts>2012-09-29 14:37:54 +0000</creation_ts>
          <short_desc>multiple values of backgrounds, shadows aren&apos;t so &quot;cascading&quot;</short_desc>
          <delta_ts>2012-09-29 14:37:54 +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>Cascading and Inheritance</component>
          <version>unspecified</version>
          <rep_platform>All</rep_platform>
          <op_sys>All</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>normal</bug_severity>
          <target_milestone>---</target_milestone>
          
          
          <everconfirmed>1</everconfirmed>
          <reporter name="Giorgio">giorgio.liscio</reporter>
          <assigned_to name="Håkon Wium Lie">howcome</assigned_to>
          
          
          <qa_contact>public-css-bugzilla</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>74875</commentid>
    <comment_count>0</comment_count>
    <who name="Giorgio">giorgio.liscio</who>
    <bug_when>2012-09-29 14:37:54 +0000</bug_when>
    <thetext>hi,

there is something wrong about the multiple background and multiple shadows syntax

#mybutton
{
    background:
         url(&apos;bg1.png&apos;) left top no-repeat,
         url(&apos;bg2.png&apos;) left bottom no-repeat,
         url(&apos;bg3.png&apos;) right top no-repeat,
         url(&apos;bg4.png&apos;) right bottom no-repeat,
         url(&apos;bg5.png&apos;) center center no-repeat,
         red
    ;
}

now, for an effect on this I have to completely rewrite the entire value

#mybutton:hover /* HOVER */
{
    background:
         url(&apos;bg1.png&apos;) left top no-repeat,
         url(&apos;bg2.png&apos;) left bottom no-repeat,
         url(&apos;bg3_HOVER.png&apos;) right top no-repeat, /* CHANGES ON HOVER */
         url(&apos;bg4.png&apos;) right bottom no-repeat,
         url(&apos;bg5.png&apos;) center center no-repeat,
         red
    ;
}

then maybe, it would be better to study an alternative method of setting a single value of a stack of values:

#mybutton:hover /* HOVER */
{
    background(3): url(&apos;bg3_HOVER.png&apos;) right top no-repeat;
    /* this is ^ the background slot */
}

any syntax, even if a lot complex, would be better than completely rewrite the stack of backgrounds

this should be applied, also, on box-shadow and text-shadow properties

#mybutton
{
    text-shadow:
        0 0 20px red, 0 0 10px blue, 0 0 20px lime, 10px 10px 10px pink;
    box-shadow:
        0 0 20px red, 0 0 10px blue, 0 0 20px lime, 10px 10px 10px pink;
}

#mybutton:hover
{
    text-shadow(2):0 0 20px purple;
    box-shadow(2):0 0 20px purple;
}</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>