Bug Tracker

Changeset 4548

Show
Ignore:
Timestamp:
01/28/08 19:01:51 (10 months ago)
Author:
joern.zaefferer
Message:

improvements for error label display in opera

Location:
trunk/plugins/validate
Files:
3 modified

Legend:

Unmodified
Added
Removed
  • trunk/plugins/validate/demo/css/cmxform.css

    r3037 r4548  
    3636form.cmxform label.error, label.error { 
    3737    /* remove the next line when you have trouble in IE6 with labels in list */ 
    38     display: none; 
    3938    color: red; 
    4039    font-style: italic 
  • trunk/plugins/validate/demo/index.html

    r4464 r4548  
    9898#commentForm label { width: 250px; } 
    9999#commentForm label.error, #commentForm input.submit { margin-left: 253px; } 
    100      
    101100#signupForm { width: 670px; } 
    102101#signupForm label.error { 
  • trunk/plugins/validate/test/test.js

    r4547 r4548  
    588588    ok( labelcontainer.is(":visible"), "Check that the labelcontainer is visible" ); 
    589589    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" ); 
    591591        equals( "li", $(this).parent()[0].tagName.toLowerCase(), "Check that each label is wrapped in an li" ); 
    592592        ok( $(this).parent("li").is(":visible"), "Check that each parent li is visible" ); 
     
    603603    ok( labelcontainer.is(":hidden"), "Check that the labelcontainer is hidden" ); 
    604604    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" ); 
    606606        equals( "li", $(this).parent()[0].tagName.toLowerCase(), "Check that each label is wrapped in an li" ); 
    607607        ok( $(this).parent("li").is(":hidden"), "Check that each parent li is visible" );