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

Side by Side Diff: LayoutTests/editing/execCommand/use-css.html

Issue 20262002: [css3-text] Implement text-decoration property shorthand (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Fixed expectation for last-minute, newly added tests in revision 155705 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 <!DOCTYPE html> 1 <!DOCTYPE html>
2 <html> 2 <html>
3 <head> 3 <head>
4 <script src="../../fast/js/resources/js-test-pre.js"></script> 4 <script src="../../fast/js/resources/js-test-pre.js"></script>
5 </head> 5 </head>
6 <body> 6 <body>
7 <p id="description"></p> 7 <p id="description"></p>
8 <div id="console"></div> 8 <div id="console"></div>
9 <script> 9 <script>
10 description('Test useCSS command'); 10 description('Test useCSS command');
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after
43 if (document.queryCommandState('useCSS') === false) 43 if (document.queryCommandState('useCSS') === false)
44 testPassed("queryCommandState('useCSS') returns false"); 44 testPassed("queryCommandState('useCSS') returns false");
45 else 45 else
46 testFailed("queryCommandState('useCSS') should return boolean false"); 46 testFailed("queryCommandState('useCSS') should return boolean false");
47 47
48 if (document.queryCommandValue('useCSS') === "") 48 if (document.queryCommandValue('useCSS') === "")
49 testPassed("queryCommandValue('useCSS') returns ''"); 49 testPassed("queryCommandValue('useCSS') returns ''");
50 else 50 else
51 testFailed("queryCommandValue('useCSS') should return string ''"); 51 testFailed("queryCommandValue('useCSS') should return string ''");
52 52
53 testSingleToggle("underline", "test", "<span style=\"text-decoration: underline; \">test</span>"); 53 testSingleToggle("underline", "test", "<span style=\"text-decoration-line: under line;\">test</span>");
54 54
55 document.body.removeChild(testContainer); 55 document.body.removeChild(testContainer);
56 56
57 </script> 57 </script>
58 <script src="../../fast/js/resources/js-test-post.js"></script> 58 <script src="../../fast/js/resources/js-test-post.js"></script>
59 </body> 59 </body>
60 </html> 60 </html>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698