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

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

Issue 2667393002: Stop using script-tests in fast/dom/. (Closed)
Patch Set: . Created 3 years, 10 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 unified diff | Download patch
OLDNEW
(Empty)
1 description(
2 'This test checks that access to the CSS float property via JavaScript propertie s on DOM elements is case sensitive.'
3 );
4
5 var element = document.createElement('a');
6 element.style.float = 'left';
7
8 debug('normal cases');
9 debug('');
10
11 shouldBe("element.style.float", "'left'");
12 shouldBeUndefined("element.style.Float");
13
14 debug('');
15 debug('"css" prefix');
16 debug('');
17
18 shouldBe("element.style.cssFloat", "'left'");
19 shouldBeUndefined("element.style.CssFloat");
20 shouldBeUndefined("element.style.Cssfloat");
21 shouldBeUndefined("element.style.cssfloat");
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698