Index: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js |
diff --git a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js |
index 923d74bad30b5ae9a82f55e58e809b4e329dde94..c2a541fbd3f1a5030e5c6ec4b565db3c3dfc061f 100644 |
--- a/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js |
+++ b/third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js |
@@ -1,21 +1,21 @@ |
description( |
-'This test checks that access to CSS properties via JavaScript properties on DOM elements is case sensitive.' |
+'This test checks that access to the CSS float property via JavaScript properties on DOM elements is case sensitive. The use of .CssFloat is deprecated and will be removed in M50.' |
); |
var element = document.createElement('a'); |
-element.style.zIndex = 1; |
+element.style.float = 'left'; |
debug('normal cases'); |
debug(''); |
-shouldBe("element.style.zIndex", "'1'"); |
-shouldBeUndefined("element.style.ZIndex"); |
+shouldBe("element.style.float", "'left'"); |
+shouldBeUndefined("element.style.Float"); |
debug(''); |
debug('"css" prefix'); |
debug(''); |
-shouldBe("element.style.cssZIndex", "'1'"); |
-shouldBe("element.style.CssZIndex", "'1'"); |
-shouldBeUndefined("element.style.CsszIndex"); |
-shouldBeUndefined("element.style.csszIndex"); |
+shouldBe("element.style.cssFloat", "'left'"); |
+shouldBe("element.style.CssFloat", "'left'"); |
+shouldBeUndefined("element.style.Cssfloat"); |
+shouldBeUndefined("element.style.cssfloat"); |