Changeset 4548
- Timestamp:
- 01/28/08 19:01:51 (10 months ago)
- Location:
- trunk/plugins/validate
- Files:
-
- 3 modified
-
demo/css/cmxform.css (modified) (1 diff)
-
demo/index.html (modified) (1 diff)
-
test/test.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/plugins/validate/demo/css/cmxform.css
r3037 r4548 36 36 form.cmxform label.error, label.error { 37 37 /* remove the next line when you have trouble in IE6 with labels in list */ 38 display: none;39 38 color: red; 40 39 font-style: italic -
trunk/plugins/validate/demo/index.html
r4464 r4548 98 98 #commentForm label { width: 250px; } 99 99 #commentForm label.error, #commentForm input.submit { margin-left: 253px; } 100 101 100 #signupForm { width: 670px; } 102 101 #signupForm label.error { -
trunk/plugins/validate/test/test.js
r4547 r4548 588 588 ok( labelcontainer.is(":visible"), "Check that the labelcontainer is visible" ); 589 589 labelcontainer.find("label").each(function() { 590 ok( $(this).is(":visible"), "Check that each label is visible " );590 ok( $(this).is(":visible"), "Check that each label is visible1" ); 591 591 equals( "li", $(this).parent()[0].tagName.toLowerCase(), "Check that each label is wrapped in an li" ); 592 592 ok( $(this).parent("li").is(":visible"), "Check that each parent li is visible" ); … … 603 603 ok( labelcontainer.is(":hidden"), "Check that the labelcontainer is hidden" ); 604 604 labelcontainer.find("label").each(function() { 605 ok( $(this).is(":hidden"), "Check that each label is visible " );605 ok( $(this).is(":hidden"), "Check that each label is visible2" ); 606 606 equals( "li", $(this).parent()[0].tagName.toLowerCase(), "Check that each label is wrapped in an li" ); 607 607 ok( $(this).parent("li").is(":hidden"), "Check that each parent li is visible" );
