Reapply client document background image by appearance

With change 23320 we are rendering all background properties as a single
CSS property "background". Document background image is set in
StartupPage class as body background attribute. It is overwriten by
hard-coded white background color defined in Widget.appearances.js ->
"client-document".

Set client document background image by Widget.appearances.js ->
"client-document" too.
Replace body background attribute with CSS background style in
rwt-index.html.

431989: Background of the client document is always white
https://bugs.eclipse.org/bugs/show_bug.cgi?id=431989

Change-Id: I6083a133cdec50666d4b20120801af6cb75212dc
Signed-off-by: Ivan Furnadjiev <ivan@eclipsesource.com>
diff --git a/bundles/org.eclipse.rap.rwt/src/org/eclipse/rap/rwt/internal/service/rwt-index.html b/bundles/org.eclipse.rap.rwt/src/org/eclipse/rap/rwt/internal/service/rwt-index.html
index 0ce4dc0..bbaa7bc 100644
--- a/bundles/org.eclipse.rap.rwt/src/org/eclipse/rap/rwt/internal/service/rwt-index.html
+++ b/bundles/org.eclipse.rap.rwt/src/org/eclipse/rap/rwt/internal/service/rwt-index.html
@@ -53,7 +53,7 @@
     </style>
   </head>
 
-  <body background="${backgroundImage}">
+  <body style="background: url( '${backgroundImage}' );">
     <noscript>
       <p style="z-index:100000;background-color:white">
         ${noScriptMessage}
diff --git a/bundles/org.eclipse.rap.rwt/widgetkits/org/eclipse/swt/internal/widgets/widgetkit/Widget.appearances.js b/bundles/org.eclipse.rap.rwt/widgetkits/org/eclipse/swt/internal/widgets/widgetkit/Widget.appearances.js
index a99f97d..e998219 100644
--- a/bundles/org.eclipse.rap.rwt/widgetkits/org/eclipse/swt/internal/widgets/widgetkit/Widget.appearances.js
+++ b/bundles/org.eclipse.rap.rwt/widgetkits/org/eclipse/swt/internal/widgets/widgetkit/Widget.appearances.js
@@ -1,5 +1,5 @@
 /*******************************************************************************
- * Copyright (c) 2007, 2013 Innoopract Informationssysteme GmbH and others.
+ * Copyright (c) 2007, 2014 Innoopract Informationssysteme GmbH and others.
  * All rights reserved. This program and the accompanying materials
  * are made available under the terms of the Eclipse Public License v1.0
  * which accompanies this distribution, and is available at
@@ -65,9 +65,10 @@
     style : function( states ) {
       var tv = new rwt.theme.ThemeValues( states );
       return {
-        font : tv.getCssFont( "*", "font" ),
+        font : tv.getCssFont( "Display", "font" ),
         textColor : "black",
-        backgroundColor : "white"
+        backgroundColor : "white",
+        backgroundImage : tv.getCssImage( "Display", "background-image" )
       };
     }
   },