| Index: third_party/WebKit/LayoutTests/typedcssom/inlinestyle/unsupported-properties.html
|
| diff --git a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/unsupported-properties.html b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/unsupported-properties.html
|
| index 6925f9ab82e9dd95c0a214f7ca8e96931ebadada..f9257e19e21dd0c49a10df92c0fc44dfbc229600 100644
|
| --- a/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/unsupported-properties.html
|
| +++ b/third_party/WebKit/LayoutTests/typedcssom/inlinestyle/unsupported-properties.html
|
| @@ -12,21 +12,21 @@
|
| // supporting some of these properties.
|
|
|
| test(function() {
|
| - testElement.style.backgroundImage = 'url("")';
|
| + testElement.style.backgroundColor = 'green';
|
|
|
| - var result = testElement.styleMap.get('background-image');
|
| + var result = testElement.styleMap.get('background-color');
|
| assert_equals(result.constructor, CSSStyleValue);
|
| - assert_equals(result.cssText, 'url("")');
|
| + assert_equals(result.cssText, 'green');
|
| }, 'Unsupported property returns a base StyleValue with the correct cssText.');
|
|
|
| test(function() {
|
| - testElement.style.backgroundImage = 'url("")';
|
| + testElement.style.backgroundColor = 'green';
|
|
|
| - secondElement.styleMap.set('background-image', testElement.styleMap.get('background-image'));
|
| + secondElement.styleMap.set('background-color', testElement.styleMap.get('background-color'));
|
|
|
| - var result = secondElement.styleMap.get('background-image');
|
| + var result = secondElement.styleMap.get('background-color');
|
| assert_equals(result.constructor, CSSStyleValue);
|
| - assert_equals(result.cssText, 'url("")');
|
| + assert_equals(result.cssText, 'green');
|
| }, 'Setting the same property using the result of getting an unknown value works');
|
|
|
| test(function() {
|
|
|