[Webkit-unassigned] [Bug 23499] Add WML specific logic for WML <input>

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Sat Jan 24 01:28:47 PST 2009


https://bugs.webkit.org/show_bug.cgi?id=23499





------- Comment #9 from yichao.yin at torchmobile.com.cn  2009-01-24 01:28 PDT -------
(In reply to comment #7)
> (In reply to comment #6)
> > > > +        if (m_formatMask.isEmpty() || 
> > > > +            // check if the format codes is a "*f" code
> > > > +           (m_formatMask.length() == 2 && m_formatMask[0] == '*' && s_formatCodes.find(m_formatMask[1]) != -1))
> > > > +            m_isEmptyOk = true;
> > > > +    }
> > > This only takes care of the 'f' format code, what about the others?
> > 
> > That piece of code is to check the input mask with value of "*f" only.  so we
> > need to check the length and whole string.
> Yeah, it's just fine - but emptyok has to be handled as well for *A, *A, etc..
> So I think we need to iterate over all possible combinations here, no?

Seems my comment in the code is not exactly, Here 'f' stands for any one code
of the format codes "AaNnXxMm". that is, it already contains all possible
comination that you meant. :)


-- 
Configure bugmail: https://bugs.webkit.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the webkit-unassigned mailing list