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

Side by Side Diff: LayoutTests/fast/css/style-enumerate-properties.html

Issue 22414006: Revert "Revert "[css3-text] Implement text-decoration property shorthand"" (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Added missing skipped test to TestExpectations Created 7 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 | Annotate | Revision Log
OLDNEW
1 <head> 1 <head>
2 <script src="../js/resources/js-test-pre.js"></script> 2 <script src="../js/resources/js-test-pre.js"></script>
3 <script> 3 <script>
4 if (window.testRunner) 4 if (window.testRunner)
5 testRunner.dumpAsText(); 5 testRunner.dumpAsText();
6 6
7 7
8 </script> 8 </script>
9 </head> 9 </head>
10 <body style="text-decoration: underline; border-top-color: green"> 10 <body style="text-decoration: underline; border-top-color: green">
11 <div id="description">This test makes sure that CSSStyleDeclaration enumerat es JavaScript properties for defined and non-defined CSS properties, indexed pro perties, and properties defined on the prototype. See <a href="https://bugs.webk it.org/show_bug.cgi?id=23946">Bug 23946</a>.</div> 11 <div id="description">This test makes sure that CSSStyleDeclaration enumerat es JavaScript properties for defined and non-defined CSS properties, indexed pro perties, and properties defined on the prototype. See <a href="https://bugs.webk it.org/show_bug.cgi?id=23946">Bug 23946</a>.</div>
12 <div id="console"></div> 12 <div id="console"></div>
13 <script> 13 <script>
14 shouldBe("document.body.style.length", "2"); 14 shouldBe("document.body.style.length", "4");
15 shouldBeTrue("'0' in document.body.style"); 15 shouldBeTrue("'0' in document.body.style");
16 shouldBeTrue("'1' in document.body.style"); 16 shouldBeTrue("'1' in document.body.style");
17 shouldBeTrue("'textDecoration' in document.body.style"); 17 shouldBeTrue("'textDecoration' in document.body.style");
18 shouldBeTrue("'textDecorationLine' in document.body.style");
19 shouldBeTrue("'textDecorationStyle' in document.body.style");
20 shouldBeTrue("'textDecorationColor' in document.body.style");
18 shouldBeTrue("'borderTopColor' in document.body.style"); 21 shouldBeTrue("'borderTopColor' in document.body.style");
19 shouldBeTrue("'border' in document.body.style"); 22 shouldBeTrue("'border' in document.body.style");
20 shouldBeTrue("'font' in document.body.style"); 23 shouldBeTrue("'font' in document.body.style");
21 shouldBeTrue("'webkitTransform' in document.body.style"); 24 shouldBeTrue("'webkitTransform' in document.body.style");
22 shouldBeTrue("'WebkitTransform' in document.body.style"); 25 shouldBeTrue("'WebkitTransform' in document.body.style");
23 shouldBeFalse("'bogus-random-String' in document.body.style"); 26 shouldBeFalse("'bogus-random-String' in document.body.style");
24 shouldBeTrue("'cssText' in document.body.style"); 27 shouldBeTrue("'cssText' in document.body.style");
25 shouldBeTrue("'getPropertyCSSValue' in document.body.style"); 28 shouldBeTrue("'getPropertyCSSValue' in document.body.style");
26 29
27 // Test CSS property order. 30 // Test CSS property order.
(...skipping 18 matching lines...) Expand all
46 if (seenFilter) 49 if (seenFilter)
47 testPassed("The CSS property order is correct"); 50 testPassed("The CSS property order is correct");
48 else 51 else
49 testFailed("The 'filter' property was not enumerated"); 52 testFailed("The 'filter' property was not enumerated");
50 break; 53 break;
51 } 54 }
52 } 55 }
53 </script> 56 </script>
54 <script src="../js/resources/js-test-post.js"></script> 57 <script src="../js/resources/js-test-post.js"></script>
55 </body> 58 </body>
OLDNEW
« no previous file with comments | « LayoutTests/fast/css/link-disabled-attr-expected.txt ('k') | LayoutTests/fast/css/style-enumerate-properties-expected.txt » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698