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

Side by Side Diff: LayoutTests/cssom/cssfloat-cssom.html

Issue 1288623005: Make cssFloat an enumerable property of CSSStyleDeclaration (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Make cssFloat an enumerable property of CSSStyleDeclaration Created 5 years, 4 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
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
1 <!DOCTYPE html>
2 <script src="../../LayoutTests/resources/testharness.js"></script>
3 <script src="../../LayoutTests/resources/testharnessreport.js"></script>
4
5 <div id="target"></div>
6
7 <script>
8 addEventListener("load", function() {
9 test(function() {
10 assert_true('cssFloat' in getComputedStyle(target), 'cssFloat is in CSSStyle Declaration');
11 assert_equals(target.style.cssFloat, '');
12 target.style.cssFloat = 'right';
13 assert_equals(target.style.cssFloat, 'right');
14
15 var CSSXGetComputedStyleQueries = 566;
16 assert_false(internals.isUseCounted(document, CSSXGetComputedStyleQueries));
17 }, 'Testing CSSFloat');
18 }, false);
19 </script>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/virtual/stable/webexposed/css-properties-as-js-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698