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

Side by Side Diff: LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property.html

Issue 1113013002: CSSStyleDeclaration.cssFloat is not enumerated property (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Added test Created 5 years, 6 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/fast/css/getComputedStyle/cssfloat-as-enumerated-property-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 <head>
3 <script>
4 if (window.testRunner)
5 testRunner.dumpAsText();
6
7 window.onload = function() {
8 var e = document.getElementById('testDiv');
9 for (var i in window.getComputedStyle(e, null)) {
10 try {
11 if (i == 'cssFloat')
12 alert('CSS Float is an enumerated property')
13 } catch(e) {
14 alert('An exception occured while running cssfloat-as-enumerated -property.html test');
15 }
16 }
17 alert(window.getComputedStyle(e,null).cssFloat);
18 }
19 </script>
20 </head>
21 <body>
22 <div id='testDiv'></div>
23 </body>
OLDNEW
« no previous file with comments | « no previous file | LayoutTests/fast/css/getComputedStyle/cssfloat-as-enumerated-property-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698