diff --git a/apps/tests/ui/style/style-tests.ts b/apps/tests/ui/style/style-tests.ts
index b0788f940..6879dbfe0 100644
--- a/apps/tests/ui/style/style-tests.ts
+++ b/apps/tests/ui/style/style-tests.ts
@@ -8,12 +8,26 @@ import helper = require("../../ui/helper");
import styling = require("ui/styling");
import types = require("utils/types");
import viewModule = require("ui/core/view");
+import styleModule = require("ui/styling/style");
import dependencyObservableModule = require("ui/core/dependency-observable");
//
// # Styling
//
+export function test_css_dataURI_is_applied_to_backgroundImageSource() {
+ var stack = new stackModule.StackLayout();
+
+ helper.buildUIAndRunTest(stack, function (views: Array) {
+ var page = views[1];
+ page.css = "StackLayout { background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQAQMAAAAlPW0iAAAABlBMVEUAAAD///l2Z/dAAAAM0lEQVR4nGP4/5/h/1+G/58ZDrAz3D/McH8yw83NDDeNGe4Ug9C9zwz3gVLMDA/A6P9/AFGGFyjOXZtQAAAAAElFTkSuQmCC;') }";
+
+ var value = stack.style._getValue(styleModule.backgroundImageSourceProperty);
+
+ TKUnit.assert(value !== undefined, "Style background-image not loaded correctly from data URI.");
+ });
+}
+
// Test for inheritance in different containers
export function test_css_is_applied_inside_StackLayout() {
var testButton = new buttonModule.Button();
@@ -746,4 +760,4 @@ export var test_CSS_isAppliedOnPage = function () {
//
// For information and example how to use style properties please refer to special [**Styling**](../../../styling.md) topic.
-//
\ No newline at end of file
+//
diff --git a/ui/styling/style.ts b/ui/styling/style.ts
index 6aa8dbd76..13d6b4b9a 100644
--- a/ui/styling/style.ts
+++ b/ui/styling/style.ts
@@ -346,20 +346,26 @@ export var backgroundImageProperty = new styleProperty.Property("backgroundImage
function onBackgroundImagePropertyChanged(data: observable.PropertyChangeData) {
var style =