[Webkit-unassigned] [Bug 38203] Move HTMLInputElement::parseToDoubleForNumberType so it can be reused outside of HTMLInputElement.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Thu Apr 29 07:16:36 PDT 2010


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


TAMURA, Kent <tkent at chromium.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |tkent at chromium.org




--- Comment #9 from TAMURA, Kent <tkent at chromium.org>  2010-04-29 07:16:36 PST ---
(In reply to comment #8)
> (In reply to comment #7)
> > (From update of attachment 54620 [details] [details])
> > I don't think that parsing a number in a way that is right for HTML is
> > something that necessarily belongs in WTF. The particular strictness here is
> > tied to HTML semantics. I think that having this be somewhere inside the
> > WebCore project makes sense. I just don't think it should be a member function
> > of a class. Not of any class, including String.
> 
> Thank you for the review.
> I am thinking that the best place would probably be in HTMLElement, but not as
> a member.
> Would you agree?

Moving to HTMLParser might be another choice, but it would be curious because
we should move serializeForNumberType(double) too.

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



More information about the webkit-unassigned mailing list