Changeset 628
- Timestamp:
- 05/25/09 21:29:43 (3 years ago)
- Location:
- trunk/src/test/unit
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/test/unit/index.html
r582 r628 92 92 }); 93 93 94 test("Should remove PRE line breaks (BR)", function() { 95 expect(1); 96 var original = "<pre>One<br>Two<br>Three</pre><p>Test</p><pre>Three<br>Four<br>Five</pre>"; 97 var expected = "<pre>One\r\nTwo\r\nThree</pre><p>Test</p><pre>Three\r\nFour\r\nFive</pre>"; 98 equals( jQuery.wymeditors(0).parser.parse(original), expected, "Remove BR in PRE" ); 99 }); 100 94 101 function runPostInitTests() { 95 102 module("Post Init"); -
trunk/src/test/unit/styles.css
r535 r628 6 6 7 7 /* PARA: Date */ 8 .date p{8 p.date { 9 9 color: #ccf; 10 10 /* background-color: #ff9; border: 2px solid #ee9; */ … … 12 12 13 13 /* PARA: Hidden note */ 14 .hidden-note p/* p[@class!="important"] */ {14 p.hidden-note /* p[@class!="important"] */ { 15 15 display: none; 16 16 /* color: #999; border: 2px solid #ccc; */ … … 18 18 19 19 /* PARA: Important */ 20 .important p/* p[@class!="hidden-note"] */ {20 p.important /* p[@class!="hidden-note"] */ { 21 21 color: red; font-weight: bold; 22 22 /* color: red; font-weight: bold; border: 2px solid red; */ 23 23 } 24 24 25 .border img{25 img.border { 26 26 border: 1px solid #ccc; 27 27 /* border: 4px solid #ccc; */ … … 29 29 30 30 /* LIST: Special */ 31 .special ul,32 .special ol {31 ul.special, 32 ol.special { 33 33 color: green; 34 34 /** / background-color: #fc9; border: 2px solid red; /**/
Note: See TracChangeset
for help on using the changeset viewer.