<?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>10142</bug_id>
          
          <creation_ts>2010-07-13 06:59:29 +0000</creation_ts>
          <short_desc>Set CSS style &quot;color&quot; will replace part of an already exist style &quot;background-color&quot;</short_desc>
          <delta_ts>2010-07-21 10:19:03 +0000</delta_ts>
          <reporter_accessible>1</reporter_accessible>
          <cclist_accessible>1</cclist_accessible>
          <classification_id>1</classification_id>
          <classification>Unclassified</classification>
          <product>Amaya</product>
          <component>CSS</component>
          <version>11.3.1</version>
          <rep_platform>PC</rep_platform>
          <op_sys>other</op_sys>
          <bug_status>RESOLVED</bug_status>
          <resolution>FIXED</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="Bryan">bryan.you.2705</reporter>
          <assigned_to name="Vatton">Irene.Vatton</assigned_to>
          <cc>carcone</cc>
    
    <cc>emilien.kia</cc>
    
    <cc>fred.wang</cc>
    
    <cc>Irene.Vatton</cc>
    
    <cc>vincent.quint</cc>
          
          <qa_contact name="Vatton">Irene.Vatton</qa_contact>

      

      

      

          <comment_sort_order>oldest_to_newest</comment_sort_order>  
          <long_desc isprivate="0" >
    <commentid>36782</commentid>
    <comment_count>0</comment_count>
    <who name="Bryan">bryan.you.2705</who>
    <bug_when>2010-07-13 06:59:29 +0000</bug_when>
    <thetext>Steps to Reproduce:
1. set CSS Style &quot;background-color&quot; on any element by clicking &quot;color picker&quot;
   (&quot;color picker&quot; I mean the button in &quot;style&quot; section in &quot;tools&quot; toolbar)

2. set CSS Style &quot;color&quot; on the same element

Actual Results:
HTML Source would look like this:
&lt;p style=&quot;background-;color:#ffffff&quot;&gt;test&lt;/p&gt;

Expected Results:
HTML Source sould look like this:
&lt;p style=&quot;background-color: #000000; color:#ffffff&quot;&gt;test&lt;/p&gt;

Build Date &amp; Platform:

    Version 11.3.1 (Build 2009-12-09) on Windows 7 64-bit</thetext>
  </long_desc><long_desc isprivate="0" >
    <commentid>36955</commentid>
    <comment_count>1</comment_count>
    <who name="lcarcone">carcone</who>
    <bug_when>2010-07-16 13:32:28 +0000</bug_when>
    <thetext>Hello,

I can reproduce this behaviour on other platforms, too.
There is indeed a problem in generating the right attribute style when the background-color and the color are set this way.
This problem doesn&apos;t happen when the color is set previous the background-color.
Until this problem is fixed, you can set the colors in that order (color then background-color) or use the css dialog (icon &apos;css&apos; in the icon bar).

Thanks for the report,
Laurent Carcone</thetext>
  </long_desc>
      
      

    </bug>

</bugzilla>