Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(253)

Unified Diff: third_party/WebKit/LayoutTests/fast/dom/CSSStyleDeclaration/script-tests/css-properties-case-sensitive.js

Issue 1508713003: Add deprecation message for CSSXGetComputedStyleQueries. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Response to review comments, fix affected tests Created 5 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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");

Powered by Google App Engine
This is Rietveld 408576698