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

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

Issue 1607653002: Remove getComputedStyle(e).css* properties (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Remove unnecessary property name prefix check Created 4 years, 11 months 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 c2a541fbd3f1a5030e5c6ec4b565db3c3dfc061f..9c24193fa96f5734cfd1f656875c611f2fe79da6 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,5 +1,5 @@
description(
-'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.'
+'This test checks that access to the CSS float property via JavaScript properties on DOM elements is case sensitive.'
);
var element = document.createElement('a');
@@ -16,6 +16,6 @@ debug('"css" prefix');
debug('');
shouldBe("element.style.cssFloat", "'left'");
-shouldBe("element.style.CssFloat", "'left'");
+shouldBeUndefined("element.style.CssFloat");
shouldBeUndefined("element.style.Cssfloat");
shouldBeUndefined("element.style.cssfloat");

Powered by Google App Engine
This is Rietveld 408576698