Changeset 19057 in webkit


Ignore:
Timestamp:
Jan 23, 2007 1:52:18 PM (17 years ago)
Author:
brmorris
Message:

ssareen <shyam.sareen@nokia.com>

Reviewed by Sachin/Brad.


DESC: Invalid WAP CSS formats not being ignored ( TSW ID: TMCN-6S5K87)
http://bugs.webkit.org/show_bug.cgi?id=12230

  • BrowserCore/Formcontrols/src/FControlformathandler.cpp: (CInputFormatHandler::ConstructL):
Location:
S60/trunk/WebKit
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • S60/trunk/WebKit/BrowserCore/Formcontrols/src/FControlformathandler.cpp

    r19054 r19057  
    317317        iMaxLength = length - numberOfStatics + n.GetNumericValue();
    318318        }
    319     }
     319      else
     320        {
     321        // If it is not a "*" or numeric character
     322        // Test for valid character here.
     323        // Then apply the default value of WAP CSS "*M".
     324        if( !n.IsAlpha() && (length > 0 ) )
     325            {
     326            iMinLength = 0; //Allow user to get out of input box
     327            iMaxLength = KInfiniteLength; // As per "*M" syntax
     328            iPostFix = 'M' ;
     329            length  = 0; //Avoid initializing the iMask later on.
     330            }
     331        }//end else
     332    } // end outer else
    320333  }
    321334
  • S60/trunk/WebKit/ChangeLog

    r19054 r19057  
     12007-01-23  ssareen  <shyam.sareen@nokia.com>
     2
     3        Reviewed by Sachin, landed by Brad.
     4       
     5        DESC: Invalid WAP CSS formats not being ignored ( TSW ID: TMCN-6S5K87)
     6        http://bugs.webkit.org/show_bug.cgi?id=12230
     7
     8        * BrowserCore/Formcontrols/src/FControlformathandler.cpp:
     9        (CInputFormatHandler::ConstructL):
     10
     112007-01-12  sareen  <shyam.sareen@nokia.com>
     12
     13        Reviewed by Sachin Padma.
     14        DESC: Invalid WAP CSS formats not being ignored ( TSW ID: TMCN-6S5K87)
     15        http://bugs.webkit.org/show_bug.cgi?id=12230
     16
     17        * BrowserCore/Formcontrols/src/FControlformathandler.cpp:
     18        (TInputFormatChar::TInputFormatChar):
     19        (TInputFormatChar::ForcedCase):
     20        (TInputFormatChar::SuggestedCase):
     21        (TInputFormatChar::AlphaAllowed):
     22        (TInputFormatChar::NumericAllowed):
     23        (TInputFormatChar::SpecialAllowed):
     24        (TInputFormatChar::Char):
     25        (TInputFormatChar::Static):
     26        (TStaticChar::TStaticChar):
     27        (TStaticChar::Char):
     28        (TStaticChar::Pos):
     29        (CInputFormatHandler::CInputFormatHandler):
     30        (CInputFormatHandler::ConstructL):
     31        (CInputFormatHandler::NewLC):
     32        (CInputFormatHandler::NewL):
     33        (CInputFormatHandler::~CInputFormatHandler):
     34        (CInputFormatHandler::SetTextL):
     35        (CInputFormatHandler::TextLC):
     36        (CInputFormatHandler::InsertL):
     37        (CInputFormatHandler::Delete):
     38        (CInputFormatHandler::StaticTextLC):
     39        (CInputFormatHandler::NumberOfStatic):
     40        (CInputFormatHandler::GetFormat):
     41        (CInputFormatHandler::PostFix):
     42        (CInputFormatHandler::MinLength):
     43        (CInputFormatHandler::MaxLength):
     44        (CInputFormatHandler::ValidateChar):
     45        (CInputFormatHandler::ValidateTextLC):
     46        (CInputFormatHandler::ValidateTextL):
     47        (CInputFormatHandler::PosIncludingStatic):
     48        (CInputFormatHandler::PosExludingStatic):
     49        (CInputFormatHandler::PreviousNonStatic):
     50        (CInputFormatHandler::NextNonStatic):
     51        (CInputFormatHandler::FirstEmpty):
     52        (CInputFormatHandler::PreviousStatic):
     53        (CInputFormatHandler::IsPosStatic):
     54
    155sareen  <shyam.sareen@nokia.com>
    256
Note: See TracChangeset for help on using the changeset viewer.